aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozDownload.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-04-06 22:29:55 +0800
committerChristian Persch <chpe@src.gnome.org>2005-04-06 22:29:55 +0800
commitd4c3f7dbac768d26ac755ed20cd0d6fe0d1e7be3 (patch)
treeaaa58108307c134edd4a2d19545c37d2252cb599 /embed/mozilla/MozDownload.h
parent7057c3852b199c8d523233c4e669acfae1246709 (diff)
downloadgsoc2013-epiphany-d4c3f7dbac768d26ac755ed20cd0d6fe0d1e7be3.tar.gz
gsoc2013-epiphany-d4c3f7dbac768d26ac755ed20cd0d6fe0d1e7be3.tar.zst
gsoc2013-epiphany-d4c3f7dbac768d26ac755ed20cd0d6fe0d1e7be3.zip
Fix for MOZILLA_INTERNAL_API change, and for 64bit downloader change.
2005-04-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/downloader-view.c: (update_download_row): * embed/ephy-download.c: * embed/ephy-download.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Fix for MOZILLA_INTERNAL_API change, and for 64bit downloader change.
Diffstat (limited to 'embed/mozilla/MozDownload.h')
-rw-r--r--embed/mozilla/MozDownload.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/embed/mozilla/MozDownload.h b/embed/mozilla/MozDownload.h
index c4592ec5d..52c06c94f 100644
--- a/embed/mozilla/MozDownload.h
+++ b/embed/mozilla/MozDownload.h
@@ -108,6 +108,9 @@ public:
NS_DECL_ISUPPORTS
NS_DECL_NSIWEBPROGRESSLISTENER
+#ifdef HAVE_NSITRANSFER_H
+ NS_DECL_NSIWEBPROGRESSLISTENER2
+#endif
NS_DECL_NSITRANSFER
#ifndef HAVE_NSITRANSFER_H
NS_DECL_NSIDOWNLOAD
@@ -125,8 +128,8 @@ public:
virtual void Resume();
nsresult GetState (EphyDownloadState *aDownloadState);
- nsresult GetCurrentProgress (PRInt32 *aCurrentProgress);
- nsresult GetTotalProgress (PRInt32 *aTProgress);
+ nsresult GetCurrentProgress (PRInt64 *aCurrentProgress);
+ nsresult GetTotalProgress (PRInt64 *aTProgress);
nsresult GetElapsedTime (PRInt64 *aTProgress);
nsresult InitForEmbed (nsIURI *aSource, nsIURI *aTarget,
const PRUnichar *aDisplayName, nsIMIMEInfo *aMIMEInfo,
@@ -143,9 +146,9 @@ protected:
PRInt64 mElapsed;
PRInt32 mInterval;
PRInt32 mPercentComplete;
- PRInt32 mTotalProgress;
- PRInt32 mCurrentProgress;
- PRInt32 mMaxSize;
+ PRInt64 mTotalProgress;
+ PRInt64 mCurrentProgress;
+ PRInt64 mMaxSize;
nsresult mStatus;