| 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 e6956a986cec0d3f2bab7d67b788b8b472701de5..fe54a0ddbb96857774da210477648494221b76d5 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;
|
| }
|
| }
|
|
|