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

Unified Diff: chrome/browser/host_content_settings_map.cc

Issue 3030033: Flip the default for the cookie prompt to disabled. (Closed)
Patch Set: Created 10 years, 5 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/host_content_settings_map.cc
diff --git a/chrome/browser/host_content_settings_map.cc b/chrome/browser/host_content_settings_map.cc
index ce53c2d58dca06b99eb994f6ec7a6818182890ea..2cf165e833d1ce17672ccb521b1ec29404407d91 100644
--- a/chrome/browser/host_content_settings_map.cc
+++ b/chrome/browser/host_content_settings_map.cc
@@ -583,8 +583,8 @@ void HostContentSettingsMap::GetSettingsFromDictionary(
}
}
}
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableCookiePrompt)) {
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableCookiePrompt)) {
// Migrate obsolete cookie prompt mode.
if (settings->settings[CONTENT_SETTINGS_TYPE_COOKIES] ==
CONTENT_SETTING_ASK)
« no previous file with comments | « chrome/browser/gtk/options/cookie_filter_page_gtk.cc ('k') | chrome/browser/views/options/content_filter_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698