summaryrefslogtreecommitdiff
path: root/modules/libjar/nsJARChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/libjar/nsJARChannel.h')
-rw-r--r--modules/libjar/nsJARChannel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/libjar/nsJARChannel.h b/modules/libjar/nsJARChannel.h
index 5328d586ab..20afbcb2fc 100644
--- a/modules/libjar/nsJARChannel.h
+++ b/modules/libjar/nsJARChannel.h
@@ -59,6 +59,11 @@ private:
nsresult OpenLocalFile();
void NotifyError(nsresult aError);
void FireOnProgress(uint64_t aProgress);
+
+ // Returns false if we don't know the content type of this channel, in which
+ // case we should use the content-type hint.
+ bool GetContentTypeGuess(nsACString&) const;
+
virtual void OnDownloadComplete(mozilla::net::MemoryDownloader* aDownloader,
nsIRequest* aRequest,
nsISupports* aCtxt,