|
1 /* Any copyright is dedicated to the Public Domain. |
|
2 http://creativecommons.org/publicdomain/zero/1.0/ */ |
|
3 |
|
4 Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); |
|
5 |
|
6 const Ci = Components.interfaces; |
|
7 |
|
8 function CookiePromptService() { |
|
9 } |
|
10 |
|
11 CookiePromptService.prototype = { |
|
12 classID: Components.ID("{509b5540-c87c-11dd-ad8b-0800200c9a66}"), |
|
13 QueryInterface: XPCOMUtils.generateQI([Ci.nsICookiePromptService]), |
|
14 |
|
15 cookieDialog: function(parent, cookie, hostname, |
|
16 cookiesFromHost, changingCookie, |
|
17 rememberDecision) { |
|
18 return 0; |
|
19 } |
|
20 }; |
|
21 |
|
22 this.NSGetFactory = XPCOMUtils.generateNSGetFactory([CookiePromptService]); |