aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyHeaderSniffer.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-10-15 18:02:04 +0800
committerChristian Persch <chpe@src.gnome.org>2005-10-15 18:02:04 +0800
commit6c9506d12f519b416ab8d7b04b7f16799abe595c (patch)
tree5ef65a22eeb904d214feb7e8b21b40601ce05740 /embed/mozilla/EphyHeaderSniffer.h
parent0beb9543055b4149b0fee9bf2418ef2048eae4f9 (diff)
downloadgsoc2013-epiphany-6c9506d12f519b416ab8d7b04b7f16799abe595c.tar
gsoc2013-epiphany-6c9506d12f519b416ab8d7b04b7f16799abe595c.tar.gz
gsoc2013-epiphany-6c9506d12f519b416ab8d7b04b7f16799abe595c.tar.bz2
gsoc2013-epiphany-6c9506d12f519b416ab8d7b04b7f16799abe595c.tar.lz
gsoc2013-epiphany-6c9506d12f519b416ab8d7b04b7f16799abe595c.tar.xz
gsoc2013-epiphany-6c9506d12f519b416ab8d7b04b7f16799abe595c.tar.zst
gsoc2013-epiphany-6c9506d12f519b416ab8d7b04b7f16799abe595c.zip
Add EPHY_EMBED_PERSIST_NO_CERTDIALOGS flag.
2005-10-15 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.h: Add EPHY_EMBED_PERSIST_NO_CERTDIALOGS flag. * embed/mozilla/Makefile.am: A embed/mozilla/EphyBadCertRejector.cpp: A embed/mozilla/EphyBadCertRejector.h: A class implementing nsIBadCertListener which always rejects. * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: For gecko 1.8, implement nsIInterfaceRequestor for EphyHeaderSniffer and MozDownload, and make GetInterface hand out a EphyBadCertRejector if the EPHY_EMBED_PERSIST_NO_CERTDIALOGS flag is set.
Diffstat (limited to 'embed/mozilla/EphyHeaderSniffer.h')
-rw-r--r--embed/mozilla/EphyHeaderSniffer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.h b/embed/mozilla/EphyHeaderSniffer.h
index 2289156c8..1b8a53979 100644
--- a/embed/mozilla/EphyHeaderSniffer.h
+++ b/embed/mozilla/EphyHeaderSniffer.h
@@ -54,7 +54,14 @@
#include <nsEmbedString.h>
#define MOZILLA_INTERNAL_API 1
+#ifdef HAVE_GECKO_1_8
+#include <nsIInterfaceRequestor.h>
+#endif
+
class EphyHeaderSniffer : public nsIWebProgressListener,
+#ifdef HAVE_GECKO_1_8
+ public nsIInterfaceRequestor,
+#endif
public nsIAuthPrompt
{
public:
@@ -66,6 +73,9 @@ public:
NS_DECL_ISUPPORTS
NS_DECL_NSIWEBPROGRESSLISTENER
NS_FORWARD_SAFE_NSIAUTHPROMPT(mAuthPrompt)
+#ifdef HAVE_GECKO_1_8
+ NS_DECL_NSIINTERFACEREQUESTOR
+#endif
nsresult InitiateDownload (nsILocalFile *aDestFile);