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

Unified Diff: chrome/browser/prefs/command_line_pref_store.cc

Issue 317203004: Removed --disable-background-mode/restore-background-contents flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed deprecated command line switch from cloud_print Created 6 years, 6 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
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/command_line_pref_store.cc
diff --git a/chrome/browser/prefs/command_line_pref_store.cc b/chrome/browser/prefs/command_line_pref_store.cc
index d5fc8c4a637bfa0d278317a9d55db63cffd6dfcd..644f48aeac9c8f69f12021248ff02b172148c510 100644
--- a/chrome/browser/prefs/command_line_pref_store.cc
+++ b/chrome/browser/prefs/command_line_pref_store.cc
@@ -170,8 +170,7 @@ void CommandLinePrefStore::ApplySSLSwitches() {
}
void CommandLinePrefStore::ApplyBackgroundModeSwitches() {
- if (command_line_->HasSwitch(switches::kDisableBackgroundMode) ||
- command_line_->HasSwitch(switches::kDisableExtensions)) {
+ if (command_line_->HasSwitch(switches::kDisableExtensions)) {
base::Value* value = base::Value::CreateBooleanValue(false);
SetValue(prefs::kBackgroundModeEnabled, value);
}
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698