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

Unified Diff: chrome/browser/chromeos/login/session/chrome_session_manager.cc

Issue 2566443005: cros: Replace WizardController string constants with OobeScreen values. (Closed)
Patch Set: Address comments Created 3 years, 11 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/chromeos/login/session/chrome_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/chrome_session_manager.cc b/chrome/browser/chromeos/login/session/chrome_session_manager.cc
index 9845fa8428bda2a2ea63cb0334747a9a62da4dc1..d50cfdd9f2f6f08cc8655bf75f25bb0ac60fe20f 100644
--- a/chrome/browser/chromeos/login/session/chrome_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/chrome_session_manager.cc
@@ -66,7 +66,7 @@ void StartKioskSession() {
session_manager::SessionManager::Get()->SetSessionState(
session_manager::SessionState::LOGIN_PRIMARY);
- ShowLoginWizard(chromeos::WizardController::kAppLaunchSplashScreenName);
+ ShowLoginWizard(chromeos::OobeScreen::SCREEN_APP_LAUNCH_SPLASH);
// Login screen is skipped but 'login-prompt-visible' signal is still needed.
VLOG(1) << "Kiosk app auto launch >> login-prompt-visible";
@@ -76,7 +76,7 @@ void StartKioskSession() {
// Starts the login/oobe screen.
void StartLoginOobeSession() {
// State will be defined once out-of-box/login branching is complete.
- ShowLoginWizard(std::string());
+ ShowLoginWizard(OobeScreen::SCREEN_UNKNOWN);
// Reset reboot after update flag when login screen is shown.
policy::BrowserPolicyConnectorChromeOS* connector =

Powered by Google App Engine
This is Rietveld 408576698