nsresult rv;  if (mHeadersDone) { rv = FinishedResponseHeaders(); if (NS_FAILED(rv)) return rv;  if (mBytesReceived && mResponseDataListener) { rv = mResponseDataListener->OnDataAvailable(mChannel, mChannel->mResponseContext, mDataStream, 0, mBytesReceived); } mDataStream = 0; }  return rv;
NS_ASSERTION(0, "nsHTTPCacheListener::FireSingleOnData(...) " "should never be called.");  return NS_ERROR_FAILURE;
nsresult nsHTTPResponseListener::FireSingleOnData(nsIStreamListener *aListener, nsISupports *aContext){    nsresult rv;    if (mHeadersDone) {        rv = FinishedResponseHeaders();        if (NS_FAILED(rv)) return rv;                if (mBytesReceived && mResponseDataListener) {            rv = mResponseDataListener->OnDataAvailable(mChannel, mChannel->mResponseContext,                                                        mDataStream, 0, mBytesReceived);        }        mDataStream = 0;    }        return rv;}