aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-19 08:10:38 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-19 08:10:38 +0800
commita2f961edc8727333836550c7923886c4b7f24897 (patch)
tree9832b8b381ca2d1c820d1ce77b720649a7aede49 /embed
parent323baedeb83c11c4640b77f4ce96b192eeb3c3f7 (diff)
downloadgsoc2013-epiphany-a2f961edc8727333836550c7923886c4b7f24897.tar
gsoc2013-epiphany-a2f961edc8727333836550c7923886c4b7f24897.tar.gz
gsoc2013-epiphany-a2f961edc8727333836550c7923886c4b7f24897.tar.bz2
gsoc2013-epiphany-a2f961edc8727333836550c7923886c4b7f24897.tar.lz
gsoc2013-epiphany-a2f961edc8727333836550c7923886c4b7f24897.tar.xz
gsoc2013-epiphany-a2f961edc8727333836550c7923886c4b7f24897.tar.zst
gsoc2013-epiphany-a2f961edc8727333836550c7923886c4b7f24897.zip
Mozilla API change.
2004-12-19 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/MozDownload.cpp: Mozilla API change.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/MozDownload.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index 48b7cf79f..103301425 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -193,6 +193,22 @@ MozDownload::GetPercentComplete(PRInt32 *aPercentComplete)
return NS_OK;
}
+#ifdef MOZ_NSIDOWNLOAD_GETSIZE
+/* readonly attribute PRUint64 amountTransferred; */
+NS_IMETHODIMP
+MozDownload::GetAmountTransferred(PRUint64 *aAmountTransferred)
+{
+ return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+/* readonly attribute PRUint64 size; */
+NS_IMETHODIMP
+MozDownload::GetSize(PRUint64 *aSize)
+{
+ return NS_ERROR_NOT_IMPLEMENTED;
+}
+#endif /* MOZ_NSIDOWNLOAD_GETSIZE */
+
NS_IMETHODIMP
MozDownload::GetTotalProgress(PRInt32 *aTotalProgress)
{