aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GeckoCookiePromptService.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-03-12 20:47:10 +0800
committerChristian Persch <chpe@src.gnome.org>2007-03-12 20:47:10 +0800
commit44bce1ab7d508b27cb8471bfbda15733752f81f8 (patch)
tree6b7bbc63dc807da574162b8bb9b42fae907e08a5 /embed/mozilla/GeckoCookiePromptService.h
parent5754e9de9cbbf108eb28b28b609bfe95092afbc3 (diff)
downloadgsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar.gz
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar.bz2
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar.lz
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar.xz
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.tar.zst
gsoc2013-epiphany-44bce1ab7d508b27cb8471bfbda15733752f81f8.zip
Implement nsICookiePromptService. Bug #337826.
2007-03-12 Christian Persch <chpe@gnome.org> * embed/mozilla/GeckoCookiePromptService.cpp: * embed/mozilla/GeckoCookiePromptService.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Implement nsICookiePromptService. Bug #337826. svn path=/trunk/; revision=6961
Diffstat (limited to 'embed/mozilla/GeckoCookiePromptService.h')
-rw-r--r--embed/mozilla/GeckoCookiePromptService.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/embed/mozilla/GeckoCookiePromptService.h b/embed/mozilla/GeckoCookiePromptService.h
new file mode 100644
index 000000000..7092a2982
--- /dev/null
+++ b/embed/mozilla/GeckoCookiePromptService.h
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2003 Tommi Komulainen <tommi.komulainen@iki.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * $Id$
+ */
+
+#ifndef COOKIEPROMPTSERVICE_H
+#define COOKIEPROMPTSERVICE_H
+
+#include <nsICookiePromptService.h>
+
+/* 50766a18-0b34-41d9-8f6c-4612200e6556 */
+#define EPHY_COOKIEPROMPTSERVICE_CID \
+ { 0x50766a18, 0x0b34, 0x41d9, { 0x8f, 0x6c, 0x46, 0x12, 0x20, 0x0e, 0x65, 0x56 } }
+
+#define EPHY_COOKIEPROMPTSERVICE_CLASSNAME "Epiphany Cookie Prompt Service"
+#define EPHY_COOKIEPROMPTSERVICE_CONTRACTID "@mozilla.org/embedcomp/cookieprompt-service;1"
+
+class GeckoCookiePromptService : public nsICookiePromptService {
+ public:
+ NS_DECL_ISUPPORTS
+ NS_DECL_NSICOOKIEPROMPTSERVICE
+
+ GeckoCookiePromptService();
+
+ private:
+ ~GeckoCookiePromptService();
+};
+
+#endif /* COOKIEPROMPTSERVICE_H */