rv = mDataSource->Unassert(mDirectory, kHTTPIndex_Loading, kTrueLiteral); if (NS_FAILED(rv)) return rv;
mDataSource->Unassert(mDirectory, kHTTPIndex_Loading, kTrueLiteral);
nsHTTPIndexParser::OnStopRequest(nsIChannel* aChannel,                                 nsISupports* aContext,                                 nsresult aStatus,                                 const PRUnichar* aErrorMsg){  // If mDirectory isn't set, then we should just bail. Either an  // error occurred and OnStartRequest() never got called, or  // something exploded in OnStartRequest().  if (! mDirectory)    return NS_OK;  // XXX Should we do anything different if aStatus != NS_OK?  // Clean up any remaining data  if (mBuf.Length() > 0)    ProcessData(aContext);  nsresult rv;  nsCOMPtr<nsIRDFLiteral> comment;  rv = gRDF->GetLiteral(mComment.GetUnicode(), getter_AddRefs(comment));  if (NS_FAILED(rv)) return rv;  rv = mDataSource->Assert(mDirectory, kHTTPIndex_Comment, comment, PR_TRUE);  if (NS_FAILED(rv)) return rv;  // Remove the 'loading' annotation.  rv = mDataSource->Unassert(mDirectory, kHTTPIndex_Loading, kTrueLiteral);  if (NS_FAILED(rv)) return rv;  return NS_OK;}