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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.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/existing_user_controller.cc
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc
index 2808844b1bb75e8c3aaa0d3e071ebaab5bff6753..2df4994d51233e4fc5692c30d346ff2e5e5f7f3a 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -492,7 +492,7 @@ void ExistingUserController::SetDisplayEmail(const std::string& email) {
}
void ExistingUserController::ShowWrongHWIDScreen() {
- host_->StartWizard(WizardController::kWrongHWIDScreenName);
+ host_->StartWizard(OobeScreen::SCREEN_WRONG_HWID);
}
void ExistingUserController::Signout() {
@@ -537,23 +537,23 @@ void ExistingUserController::OnEnrollmentOwnershipCheckCompleted(
}
void ExistingUserController::ShowEnrollmentScreen() {
- host_->StartWizard(WizardController::kEnrollmentScreenName);
+ host_->StartWizard(OobeScreen::SCREEN_OOBE_ENROLLMENT);
}
void ExistingUserController::ShowResetScreen() {
- host_->StartWizard(WizardController::kResetScreenName);
+ host_->StartWizard(OobeScreen::SCREEN_OOBE_RESET);
}
void ExistingUserController::ShowEnableDebuggingScreen() {
- host_->StartWizard(WizardController::kEnableDebuggingScreenName);
+ host_->StartWizard(OobeScreen::SCREEN_OOBE_ENABLE_DEBUGGING);
}
void ExistingUserController::ShowKioskEnableScreen() {
- host_->StartWizard(WizardController::kKioskEnableScreenName);
+ host_->StartWizard(OobeScreen::SCREEN_KIOSK_ENABLE);
}
void ExistingUserController::ShowKioskAutolaunchScreen() {
- host_->StartWizard(WizardController::kKioskAutolaunchScreenName);
+ host_->StartWizard(OobeScreen::SCREEN_KIOSK_AUTOLAUNCH);
}
void ExistingUserController::ShowTPMError() {

Powered by Google App Engine
This is Rietveld 408576698