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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 2519633002: ChromeOS: disable MD OOBE by default. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | chromeos/chromeos_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index bfd8761c4a5d0fa3ebfd8a62b4b895beda0991ea..06a31126ce225be8ebf792ea3946837502436c8e 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -334,8 +334,8 @@ void WizardController::Init(const std::string& first_screen_name) {
// or when resuming an OOBE that had it disabled or unset. We use an if/else
// here to try and not set state when it is the default value so it can
// change and affect the OOBE again.
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kDisableMdOobe))
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
+ chromeos::switches::kEnableMdOobe))
SetShowMdOobe(false);
else if ((screen_pref.empty() ||
GetLocalState()->HasPrefPath(prefs::kOobeMdMode)) ||
« no previous file with comments | « no previous file | chromeos/chromeos_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698