summaryrefslogtreecommitdiffstats
path: root/modules/libjar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/libjar')
-rw-r--r--modules/libjar/nsIZipReader.idl2
-rw-r--r--modules/libjar/zipwriter/nsDeflateConverter.cpp5
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/libjar/nsIZipReader.idl b/modules/libjar/nsIZipReader.idl
index b6a1f70abd..abead2841a 100644
--- a/modules/libjar/nsIZipReader.idl
+++ b/modules/libjar/nsIZipReader.idl
@@ -225,7 +225,7 @@ interface nsIZipReaderCache : nsISupports
/**
* returns true if this zipreader already has this file cached
*/
- bool isCached(in nsIFile zipFile);
+ boolean isCached(in nsIFile zipFile);
/**
* Returns a (possibly shared) nsIZipReader for a zip inside another zip
diff --git a/modules/libjar/zipwriter/nsDeflateConverter.cpp b/modules/libjar/zipwriter/nsDeflateConverter.cpp
index b3f4301234..26aabc3ad5 100644
--- a/modules/libjar/zipwriter/nsDeflateConverter.cpp
+++ b/modules/libjar/zipwriter/nsDeflateConverter.cpp
@@ -133,6 +133,11 @@ NS_IMETHODIMP nsDeflateConverter::OnDataAvailable(nsIRequest* aRequest,
return NS_OK;
}
+NS_IMETHODIMP
+nsDeflateConverter::MaybeRetarget(nsIRequest* request) {
+ return NS_ERROR_NOT_IMPLEMENTED;
+}
+
NS_IMETHODIMP nsDeflateConverter::OnStartRequest(nsIRequest* aRequest) {
if (!mListener) return NS_ERROR_NOT_INITIALIZED;