Index: chrome/browser/chromeos/first_run/first_run.cc |
diff --git a/chrome/browser/chromeos/first_run/first_run.cc b/chrome/browser/chromeos/first_run/first_run.cc |
index b6f9aabc6dbd4cbe2ee15235445f8d1ba4334a9f..b98e4db566b4508e83a81f3730cfa94f56e9007b 100644 |
--- a/chrome/browser/chromeos/first_run/first_run.cc |
+++ b/chrome/browser/chromeos/first_run/first_run.cc |
@@ -65,13 +65,11 @@ class DialogLauncher : public content::NotificationObserver { |
bool launched_in_test = command_line->HasSwitch(::switches::kTestType); |
bool launched_in_telemetry = |
command_line->HasSwitch(switches::kOobeSkipPostLogin); |
- bool first_run_disabled = |
- command_line->HasSwitch(switches::kDisableFirstRunUI); |
bool is_user_new = chromeos::UserManager::Get()->IsCurrentUserNew(); |
bool first_run_forced = command_line->HasSwitch(switches::kForceFirstRunUI); |
bool first_run_seen = |
profile_->GetPrefs()->GetBoolean(prefs::kFirstRunTutorialShown); |
- if (!launched_in_telemetry && !first_run_disabled && |
+ if (!launched_in_telemetry && |
((is_user_new && !first_run_seen && !launched_in_test) || |
first_run_forced)) { |
LaunchDialogForProfile(profile_); |