2010-06-21 17:50:35 -07:00
|
|
|
/* Any copyright is dedicated to the Public Domain.
|
2010-11-12 09:32:36 -08:00
|
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
2010-06-21 17:50:35 -07:00
|
|
|
|
|
|
|
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
2009-01-20 23:46:28 -08:00
|
|
|
|
2010-06-21 17:50:35 -07:00
|
|
|
const Ci = Components.interfaces;
|
2009-01-20 23:46:28 -08:00
|
|
|
|
|
|
|
function CookiePromptService() {
|
|
|
|
}
|
|
|
|
|
|
|
|
CookiePromptService.prototype = {
|
|
|
|
classID: Components.ID("{509b5540-c87c-11dd-ad8b-0800200c9a66}"),
|
|
|
|
QueryInterface: XPCOMUtils.generateQI([Ci.nsICookiePromptService]),
|
|
|
|
|
|
|
|
cookieDialog: function(parent, cookie, hostname,
|
|
|
|
cookiesFromHost, changingCookie,
|
|
|
|
rememberDecision) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2010-06-25 07:43:25 -07:00
|
|
|
const NSGetFactory = XPCOMUtils.generateNSGetFactory([CookiePromptService]);
|