nsCacheEntryDescriptor::Close() { if (!mCacheEntry)  return NS_ERROR_NOT_AVAILABLE;   nsCacheService::GlobalInstance()->CloseDescriptor(this); mCacheEntry = nsnull;  return NS_OK; }
NS_IMETHOD Close(void) { return mOutput->Close(); }
nsCacheEntryDescriptor::Close(){    if (!mCacheEntry)  return NS_ERROR_NOT_AVAILABLE;    // tell nsCacheService we're going away    nsCacheService::GlobalInstance()->CloseDescriptor(this);    mCacheEntry = nsnull;    return NS_OK;}