| 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 ee35d78a77e71727709f23c5b682a84824182130..f8a60b7f09d073642d7d35f2785ae3f5f4db8c76 100644
|
| --- a/chrome/browser/chromeos/login/session/user_session_manager.cc
|
| +++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
|
| @@ -1196,10 +1196,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 {
|
| @@ -1278,7 +1278,7 @@ bool UserSessionManager::InitializeUserSession(Profile* profile) {
|
| if (!StartupUtils::IsDeviceRegistered())
|
| StartupUtils::MarkDeviceRegistered(base::Closure());
|
|
|
| - ActivateWizard(WizardController::kTermsOfServiceScreenName);
|
| + ActivateWizard(OobeScreen::SCREEN_TERMS_OF_SERVICE);
|
| return false;
|
| }
|
| }
|
|
|