Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 /* Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ */
4 Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
6 const Ci = Components.interfaces;
8 function CookiePromptService() {
9 }
11 CookiePromptService.prototype = {
12 classID: Components.ID("{509b5540-c87c-11dd-ad8b-0800200c9a66}"),
13 QueryInterface: XPCOMUtils.generateQI([Ci.nsICookiePromptService]),
15 cookieDialog: function(parent, cookie, hostname,
16 cookiesFromHost, changingCookie,
17 rememberDecision) {
18 return 0;
19 }
20 };
22 this.NSGetFactory = XPCOMUtils.generateNSGetFactory([CookiePromptService]);