return NS_OK;
nsresult  rv = NS_OK;  nsCOMPtr<nsIChannel> channel = do_QueryInterface(request);  if (!channel) return NS_ERROR_FAILURE;  nsCOMPtr<nsICachingChannel> cacheChannel = do_QueryInterface(channel); if (cacheChannel) { rv = cacheChannel->SetCacheAsFile(PR_TRUE); if (NS_FAILED(rv)) {   NS_ASSERTION(PR_FALSE, "No Disk Cache Aval.  Some plugins wont work."); } }  char* aContentType = nsnull; rv = channel->GetContentType(&aContentType); if (NS_FAILED(rv)) return rv; nsCOMPtr<nsIURI> aURL; rv = channel->GetURI(getter_AddRefs(aURL)); if (NS_FAILED(rv)) return rv;  if (nsnull != aContentType) mPluginStreamInfo->SetContentType(aContentType);  nsPluginWindow    *window = nsnull;         if ((nsnull == mInstance) && (nsnull != mOwner) && (nsnull != aContentType)) { mOwner->GetInstance(mInstance); mOwner->GetWindow(window);  if ((nsnull == mInstance) && (nsnull != mHost) && (nsnull != window)) {  nsPluginMode mode; mOwner->GetMode(&mode); if (mode == nsPluginMode_Embedded) rv = mHost->InstantiateEmbededPlugin(aContentType, aURL, mOwner); else rv = mHost->SetUpPluginInstance(aContentType, aURL, mOwner);  if (NS_OK == rv) {  mOwner->GetInstance(mInstance);  if (nsnull != mInstance) { mInstance->Start(); mOwner->CreateWidget();    if (window->window) mInstance->SetWindow(window); } } } }  nsCRT::free(aContentType);     PRInt32 length;  rv = channel->GetContentLength(&length);    if (NS_FAILED(rv)) { mPluginStreamInfo->SetLength(-1); } else { mPluginStreamInfo->SetLength(length); }   rv = SetUpStreamListener(request, aURL); if (NS_FAILED(rv)) return rv;  return rv;
nsPluginCacheListener::OnStartRequest(nsIRequest *request, nsISupports* ctxt){  return NS_OK;}