aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
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)
{