Bug #27048 --> implement nsIHTTPEventSink

r=valeski
This commit is contained in:
mscott%netscape.com 2000-08-25 01:46:00 +00:00
parent 7aac02860d
commit fed762b752

View File

@ -43,6 +43,7 @@
#include "nsGfxCIID.h" #include "nsGfxCIID.h"
#include "nsIPrompt.h" #include "nsIPrompt.h"
#include "nsTextFormatter.h" #include "nsTextFormatter.h"
#include "nsIHTTPEventSink.h"
// Local Includes // Local Includes
#include "nsDocShell.h" #include "nsDocShell.h"
@ -187,7 +188,7 @@ NS_IMETHODIMP nsDocShell::GetInterface(const nsIID& aIID, void** aSink)
else else
return NS_NOINTERFACE; return NS_NOINTERFACE;
} }
else if (aIID.Equals(NS_GET_IID(nsIProgressEventSink)) || else if (aIID.Equals(NS_GET_IID(nsIProgressEventSink)) || aIID.Equals(NS_GET_IID(nsIHTTPEventSink)) ||
aIID.Equals(NS_GET_IID(nsIWebProgress))) aIID.Equals(NS_GET_IID(nsIWebProgress)))
{ {
nsCOMPtr<nsIURILoader> uriLoader(do_GetService(NS_URI_LOADER_PROGID)); nsCOMPtr<nsIURILoader> uriLoader(do_GetService(NS_URI_LOADER_PROGID));