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

Unified Diff: chrome/browser/content_setting_combo_model.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/content_setting_combo_model.cc
diff --git a/chrome/browser/content_setting_combo_model.cc b/chrome/browser/content_setting_combo_model.cc
index 167693a36203fbc09d6db316eae90f512a718af1..5513515c47b95fe9149080f2517f04243452dad5 100644
--- a/chrome/browser/content_setting_combo_model.cc
+++ b/chrome/browser/content_setting_combo_model.cc
@@ -31,8 +31,8 @@ const ContentSetting kSessionAskSettings[] = { CONTENT_SETTING_ALLOW,
ContentSettingComboModel::ContentSettingComboModel(bool show_session)
: show_session_(show_session),
- disable_cookie_prompt_(CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableCookiePrompt)) {
+ disable_cookie_prompt_(!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableCookiePrompt)) {
}
ContentSettingComboModel::~ContentSettingComboModel() {
« no previous file with comments | « chrome/browser/content_setting_bubble_model.cc ('k') | chrome/browser/gtk/options/cookie_filter_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698