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.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/embed/mozilla/MozDownload.h b/embed/mozilla/MozDownload.h
index 326056059..35a81ad2a 100644
--- a/embed/mozilla/MozDownload.h
+++ b/embed/mozilla/MozDownload.h
@@ -98,6 +98,9 @@ public:
virtual ~MozDownload();
NS_DECL_ISUPPORTS
+#if MOZILLA_SNAPSHOT > 15
+ NS_DECL_NSITRANSFER
+#endif
NS_DECL_NSIDOWNLOAD
NS_DECL_NSIWEBPROGRESSLISTENER
@@ -109,14 +112,25 @@ public:
nsresult GetCurrentProgress (PRInt32 *aCurrentProgress);
nsresult GetTotalProgress (PRInt32 *aTProgress);
nsresult GetElapsedTime (PRInt64 *aTProgress);
+#if MOZILLA_SNAPSHOT < 16
nsresult InitForEmbed (nsIURI *aSource, nsILocalFile *aTarget,
const PRUnichar *aDisplayName, nsIMIMEInfo *aMIMEInfo,
PRInt64 startTime, nsIWebBrowserPersist *aPersist,
MozillaEmbedPersist *aEmbedPersist, PRInt32 aMaxSize);
+#else
+ nsresult InitForEmbed (nsIURI *aSource, nsIURI *aTarget,
+ const PRUnichar *aDisplayName, nsIMIMEInfo *aMIMEInfo,
+ PRInt64 startTime, nsIWebBrowserPersist *aPersist,
+ MozillaEmbedPersist *aEmbedPersist, PRInt32 aMaxSize);
+#endif
protected:
nsCOMPtr<nsIURI> mSource;
+#if MOZILLA_SNAPSHOT < 16
nsCOMPtr<nsILocalFile> mDestination;
+#else
+ nsCOMPtr<nsIURI> mDestination;
+#endif
nsCOMPtr<nsIMIMEInfo> mMIMEInfo;
PRInt64 mLastUpdate;
PRInt64 mStartTime;