aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozDownload.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/MozDownload.h')
-rw-r--r--embed/mozilla/MozDownload.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/embed/mozilla/MozDownload.h b/embed/mozilla/MozDownload.h
index 007045564..509b28339 100644
--- a/embed/mozilla/MozDownload.h
+++ b/embed/mozilla/MozDownload.h
@@ -55,6 +55,7 @@
#ifdef HAVE_GECKO_1_8
#include <nsICancelable.h>
#include <nsITransfer.h>
+#include <nsIInterfaceRequestor.h>
#else
#include <nsIDownload.h>
#endif
@@ -98,7 +99,8 @@ nsresult BuildDownloadPath (const char *defaultFileName, nsILocalFile **_retval)
class MozDownload :
#ifdef HAVE_GECKO_1_8
- public nsITransfer
+ public nsITransfer,
+ public nsIInterfaceRequestor
#else
public nsIDownload,
public nsIWebProgressListener
@@ -113,6 +115,7 @@ public:
#ifdef HAVE_GECKO_1_8
NS_DECL_NSIWEBPROGRESSLISTENER2
NS_DECL_NSITRANSFER
+ NS_DECL_NSIINTERFACEREQUESTOR
nsresult GetMIMEInfo (nsIMIMEInfo **aMIMEInfo);
nsresult GetTargetFile (nsILocalFile **aFile);