| 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 21e8210e1736677300bb93684356bfbe5837b615..b0ebb8bc55895ad2ad3d24b515dd6b3adeff3f82 100644
|
| --- a/chrome/browser/chromeos/login/existing_user_controller.cc
|
| +++ b/chrome/browser/chromeos/login/existing_user_controller.cc
|
| @@ -459,6 +459,11 @@ void ExistingUserController::OnOffTheRecordLoginSuccess() {
|
| LoginUtils::Get()->CompleteOffTheRecordLogin(guest_mode_url_);
|
| } else {
|
| // Postpone CompleteOffTheRecordLogin until registration completion.
|
| + // TODO(nkostylev): Kind of hack. We have to instruct UserManager here
|
| + // that we're actually logged in as Guest user as we'll ask UserManager
|
| + // later in the code path whether we've signed in as Guest and depending
|
| + // on that would either show image screen or call CompleteOffTheRecordLogin.
|
| + UserManager::Get()->GuestUserLoggedIn();
|
| ActivateWizard(WizardController::kRegistrationScreenName);
|
| }
|
|
|
|
|