Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1009)

Unified Diff: chrome/browser/dom_ui/content_settings_handler.cc

Issue 3299020: Remove vestigial cookie/web app permissions prompting UI now that the async U... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/dom_ui/content_settings_handler.cc
===================================================================
--- chrome/browser/dom_ui/content_settings_handler.cc (revision 59533)
+++ chrome/browser/dom_ui/content_settings_handler.cc (working copy)
@@ -210,12 +210,6 @@
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,

Powered by Google App Engine
This is Rietveld 408576698