Moves uploadStream to nsIUploadChannel. r=neeti@netscape.com, sr=darin@netscape.com, b=100601

git-svn-id: svn://10.0.0.236/trunk@130433 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2002-09-25 20:15:17 +00:00
parent 3702371173
commit 4cd3ac5a72
7 changed files with 42 additions and 9 deletions

View File

@@ -50,6 +50,7 @@
#include "nsIAuthPrompt.h"
#include "nsTextFormatter.h"
#include "nsIHttpEventSink.h"
#include "nsIUploadChannel.h"
#include "nsISecurityEventSink.h"
#include "nsScriptSecurityManager.h"
#include "nsDocumentCharsetInfoCID.h"
@@ -5643,7 +5644,9 @@ nsDocShell::OnNewURI(nsIURI * aURI, nsIChannel * aChannel,
}
if (httpChannel) {
httpChannel->GetUploadStream(getter_AddRefs(inputStream));
nsCOMPtr<nsIUploadChannel> uploadChannel(do_QueryInterface(channel));
if (uploadChannel) {
httpChannel->GetUploadStream(getter_AddRefs(inputStream));
}
}
/* Create SH Entry (mLSHE) only if there is a SessionHistory object (mSessionHistory) in