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

Unified Diff: chrome/browser/cocoa/content_settings_dialog_controller.mm

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/cocoa/content_settings_dialog_controller.mm
diff --git a/chrome/browser/cocoa/content_settings_dialog_controller.mm b/chrome/browser/cocoa/content_settings_dialog_controller.mm
index 5949f098bdb804f8261f9398b7ccc48c53aef857..2befeaff233efc9a2223cd154cf4cd3302d715e8 100644
--- a/chrome/browser/cocoa/content_settings_dialog_controller.mm
+++ b/chrome/browser/cocoa/content_settings_dialog_controller.mm
@@ -125,8 +125,8 @@ class PrefObserverDisabler {
- (id)initWithProfile:(Profile*)profile {
DCHECK(profile);
- disableCookiePrompt_ = CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableCookiePrompt);
+ disableCookiePrompt_ = !CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableCookiePrompt);
NSString* nibpath =
[mac_util::MainAppBundle() pathForResource:@"ContentSettings"
ofType:@"nib"];
« no previous file with comments | « chrome/browser/cocoa/content_exceptions_window_controller.mm ('k') | chrome/browser/content_setting_bubble_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698