michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); michael@0: michael@0: const Ci = Components.interfaces; michael@0: michael@0: function CookiePromptService() { michael@0: } michael@0: michael@0: CookiePromptService.prototype = { michael@0: classID: Components.ID("{509b5540-c87c-11dd-ad8b-0800200c9a66}"), michael@0: QueryInterface: XPCOMUtils.generateQI([Ci.nsICookiePromptService]), michael@0: michael@0: cookieDialog: function(parent, cookie, hostname, michael@0: cookiesFromHost, changingCookie, michael@0: rememberDecision) { michael@0: return 0; michael@0: } michael@0: }; michael@0: michael@0: this.NSGetFactory = XPCOMUtils.generateNSGetFactory([CookiePromptService]);