summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/content_settings_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/content_settings_handler.cc')
-rw-r--r--chrome/browser/dom_ui/content_settings_handler.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/dom_ui/content_settings_handler.cc b/chrome/browser/dom_ui/content_settings_handler.cc
index d15671d..b40317f 100644
--- a/chrome/browser/dom_ui/content_settings_handler.cc
+++ b/chrome/browser/dom_ui/content_settings_handler.cc
@@ -210,12 +210,6 @@ void ContentSettingsHandler::Initialize() {
dom_ui_->CallJavascriptFunction(
L"ContentSettings.setBlockThirdPartyCookies", *block_3rd_party.get());
- scoped_ptr<Value> show_cookies_prompt(Value::CreateBooleanValue(
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableCookiePrompt)));
- dom_ui_->CallJavascriptFunction(
- L"ContentSettings.setCookiesPromptEnabled", *show_cookies_prompt.get());
-
UpdateAllExceptionsViewsFromModel();
notification_registrar_.Add(
this, NotificationType::CONTENT_SETTINGS_CHANGED,