nsresult rv = NS_OK;  PLUGIN_LOG(PLUGIN_LOG_NOISY, ("nsPluginStreamListenerPeer::OnStopRequest this=%p aStatus=%d request=%p\n", this, aStatus, request));   nsCOMPtr<nsIByteRangeRequest> brr = do_QueryInterface(request); if (brr) { PRInt32 absoluteOffset = 0; brr->GetStartRange(&absoluteOffset);  nsPRUintKey key(absoluteOffset);   (void) mDataForwardToRequest->Remove(&key);   PLUGIN_LOG(PLUGIN_LOG_NOISY, ("                          ::OnStopRequest for ByteRangeRequest Started=%d\n", absoluteOffset)); } else {    mFileCacheOutputStream = nsnull; }   if (--mPendingRequests > 0) return NS_OK;   nsCOMPtr<nsISupportsPRUint32> container = do_QueryInterface(aContext); if (container) { PRUint32 magicNumber = 0; container->GetData(&magicNumber); if (magicNumber == MAGIC_REQUEST_CONTEXT) {  return NS_OK; } }  if(!mPStreamListener) return NS_ERROR_FAILURE;  nsCOMPtr<nsIChannel> channel = do_QueryInterface(request); if (!channel) return NS_ERROR_FAILURE;  nsCAutoString aContentType; rv = channel->GetContentType(aContentType); if (NS_FAILED(rv)) return rv;  if (!aContentType.IsEmpty()) mPluginStreamInfo->SetContentType(aContentType.get());   if (mRequestFailed) aStatus = NS_ERROR_FAILURE;  if (NS_FAILED(aStatus)) {   mPStreamListener->OnStopBinding(mPluginStreamInfo, aStatus); return NS_OK; }   if (mStreamType >= nsPluginStreamType_AsFile) { nsCOMPtr<nsIFile> localFile = do_QueryInterface(mLocalCachedFile); if (!localFile) { nsCOMPtr<nsICachingChannel> cacheChannel = do_QueryInterface(request); if (cacheChannel) { cacheChannel->GetCacheFile(getter_AddRefs(localFile)); } else {  nsCOMPtr<nsIFileChannel> fileChannel = do_QueryInterface(request); if (fileChannel) { fileChannel->GetFile(getter_AddRefs(localFile)); } } }  if (localFile) { OnFileAvailable(localFile); } }  if (mStartBinding) {  mPStreamListener->OnStopBinding(mPluginStreamInfo, aStatus); } else {  mPStreamListener->OnStartBinding(mPluginStreamInfo); mPStreamListener->OnStopBinding(mPluginStreamInfo, aStatus); }  if (NS_SUCCEEDED(aStatus)) mPluginStreamInfo->SetStreamComplete(PR_TRUE);
nsPluginCacheListener::OnStopRequest(nsIRequest *request,                                      nsISupports* aContext,                                      nsresult aStatus){  return NS_OK;}