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

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

Issue 2530453002: ChromeOS: enable MD OOBE by default. (Closed)
Patch Set: Rebased. Created 4 years 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 2526bdb8e30d5ea82d577525a88c12497e5f73c1..ceba540de4a9eb9ee28b7f74b2099b4f8aec07c2 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -335,8 +335,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::kEnableMdOobe))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ chromeos::switches::kDisableMdOobe))
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