diff options
Diffstat (limited to 'components/jar/src/nsJARChannel.h')
-rw-r--r-- | components/jar/src/nsJARChannel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/jar/src/nsJARChannel.h b/components/jar/src/nsJARChannel.h index 5328d586a..20afbcb2f 100644 --- a/components/jar/src/nsJARChannel.h +++ b/components/jar/src/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, |