mChannel->NotifyStorageInUse(*aNumWritten);
WriteStreamWrapper::Write(const char *aBuffer, PRUint32 aCount, PRUint32 *aNumWritten) {  *aNumWritten = 0;  nsresult rv = mBaseStream->Write(aBuffer, aCount, aNumWritten);  mChannel->NotifyStorageInUse(*aNumWritten);  mTotalSize += *aNumWritten;  return rv;}