| Index: chrome/browser/chromeos/login/session/user_session_manager.cc
|
| diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
|
| index 2b9a0bcc65a0e47a2741eb3ba2a4a37a7a2ecf00..0b78499b2fd0f35d18b760f3a470341c22c3c462 100644
|
| --- a/chrome/browser/chromeos/login/session/user_session_manager.cc
|
| +++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
|
| @@ -1191,10 +1191,10 @@ void UserSessionManager::FinalizePrepareProfile(Profile* profile) {
|
| delegate_->OnProfilePrepared(profile, browser_launched);
|
| }
|
|
|
| -void UserSessionManager::ActivateWizard(const std::string& screen_name) {
|
| +void UserSessionManager::ActivateWizard(OobeScreen screen) {
|
| LoginDisplayHost* host = LoginDisplayHost::default_host();
|
| CHECK(host);
|
| - host->StartWizard(screen_name);
|
| + host->StartWizard(screen);
|
| }
|
|
|
| void UserSessionManager::InitializeStartUrls() const {
|
| @@ -1273,7 +1273,7 @@ bool UserSessionManager::InitializeUserSession(Profile* profile) {
|
| if (!StartupUtils::IsDeviceRegistered())
|
| StartupUtils::MarkDeviceRegistered(base::Closure());
|
|
|
| - ActivateWizard(WizardController::kTermsOfServiceScreenName);
|
| + ActivateWizard(OobeScreen::SCREEN_TERMS_OF_SERVICE);
|
| return false;
|
| }
|
| }
|
|
|