SI_SetBoolPref(pref_WalletExtractTables, PR_TRUE);
InputConsumer::OnStopRequest(nsIChannel* channel,                              nsISupports* context,                             nsresult aStatus,                             const PRUnichar* aMsg){  PR_LOG(gWalletLog, PR_LOG_ALWAYS, ("InputConsumer::OnStopRequest[%x]\n", this));  PRUint32 httpStatus;  nsresult rv = NS_ERROR_FAILURE;  nsCOMPtr<nsIHTTPChannel> pHTTPCon(do_QueryInterface(channel));  if (pHTTPCon) {    pHTTPCon->GetResponseStatus(&httpStatus);  }  if (mOutFile && httpStatus != 304 ) {      mOutFile->flush();      mOutFile->close();      rv = NS_OK;  }  /* rename the downloaded file to the file that was requested */  if (NS_SUCCEEDED(rv)) {    mFileSpec.Delete(PR_FALSE);    mDownloadFileSpec.Rename(mFileName);  }  return rv;}