diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-07-21 02:15:45 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-07-21 02:15:45 +0800 |
commit | a2ac8ca7dd579263c826d87dded5265749900da4 (patch) | |
tree | ca6b9540b399a61d1f930327bdf92f3b8216bec4 /embed/mozilla/EphyHeaderSniffer.h | |
parent | 4a28a25c29ecb619138dc03fd80e24eaf899f0dd (diff) | |
download | gsoc2013-epiphany-a2ac8ca7dd579263c826d87dded5265749900da4.tar.gz gsoc2013-epiphany-a2ac8ca7dd579263c826d87dded5265749900da4.tar.zst gsoc2013-epiphany-a2ac8ca7dd579263c826d87dded5265749900da4.zip |
Pass single to the sniffer and weak ref it. Fix #141928
2004-07-20 Marco Pesenti Gritti <marco@gnome.org>
* embed/mozilla/EphyHeaderSniffer.cpp:
* embed/mozilla/EphyHeaderSniffer.h:
* embed/mozilla/mozilla-embed-persist.cpp:
Pass single to the sniffer and weak ref it.
Fix #141928
Diffstat (limited to 'embed/mozilla/EphyHeaderSniffer.h')
-rw-r--r-- | embed/mozilla/EphyHeaderSniffer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.h b/embed/mozilla/EphyHeaderSniffer.h index 4aa7d1fa8..f58bebe01 100644 --- a/embed/mozilla/EphyHeaderSniffer.h +++ b/embed/mozilla/EphyHeaderSniffer.h @@ -40,6 +40,7 @@ */ #include "mozilla-embed-persist.h" +#include "ephy-embed-single.h" #include <nsIWebProgressListener.h> #include <nsIWebBrowserPersist.h> @@ -56,8 +57,8 @@ class EphyHeaderSniffer : public nsIWebProgressListener, { public: EphyHeaderSniffer (nsIWebBrowserPersist* aPersist, MozillaEmbedPersist *aEmbedPersist, - nsIFile* aFile, nsIURI* aURL, - nsIDOMDocument* aDocument, nsIInputStream* aPostData); + nsIFile* aFile, nsIURI* aURL, nsIDOMDocument* aDocument, + nsIInputStream* aPostData, EphyEmbedSingle *single); virtual ~EphyHeaderSniffer (); NS_DECL_ISUPPORTS @@ -73,6 +74,7 @@ protected: private: nsIWebBrowserPersist* mPersist; /* Weak. It owns us as a listener. */ MozillaEmbedPersist *mEmbedPersist; + EphyEmbedSingle *mSingle; nsCOMPtr<nsIFile> mTmpFile; nsCOMPtr<nsIURI> mURL; nsCOMPtr<nsIURI> mOriginalURI; |