aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozDownload.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/MozDownload.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/MozDownload.h')
-rw-r--r--embed/mozilla/MozDownload.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/embed/mozilla/MozDownload.h b/embed/mozilla/MozDownload.h
index 007045564..509b28339 100644
--- a/embed/mozilla/MozDownload.h
+++ b/embed/mozilla/MozDownload.h
@@ -55,6 +55,7 @@
#ifdef HAVE_GECKO_1_8
#include <nsICancelable.h>
#include <nsITransfer.h>
+#include <nsIInterfaceRequestor.h>
#else
#include <nsIDownload.h>
#endif
@@ -98,7 +99,8 @@ nsresult BuildDownloadPath (const char *defaultFileName, nsILocalFile **_retval)
class MozDownload :
#ifdef HAVE_GECKO_1_8
- public nsITransfer
+ public nsITransfer,
+ public nsIInterfaceRequestor
#else
public nsIDownload,
public nsIWebProgressListener
@@ -113,6 +115,7 @@ public:
#ifdef HAVE_GECKO_1_8
NS_DECL_NSIWEBPROGRESSLISTENER2
NS_DECL_NSITRANSFER
+ NS_DECL_NSIINTERFACEREQUESTOR
nsresult GetMIMEInfo (nsIMIMEInfo **aMIMEInfo);
nsresult GetTargetFile (nsILocalFile **aFile);