Chromium Code Reviews| 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 0030ed745457717028b2b31196e80037a1cce78a..719dd95cfede65aa0b8236ce0617067d31c1389d 100644 |
| --- a/chrome/browser/chromeos/login/existing_user_controller.cc |
| +++ b/chrome/browser/chromeos/login/existing_user_controller.cc |
| @@ -860,18 +860,18 @@ void ExistingUserController::OnAuthSuccess(const UserContext& user_context) { |
| login_performer_->set_delegate(NULL); |
| ignore_result(login_performer_.release()); |
| + // Will call OnProfilePrepared() in the end. |
| + LoginUtils::Get()->PrepareProfile(user_context, |
| + has_auth_cookies, |
| + false, // Start session for user. |
| + this); |
| + |
| // Update user's displayed email. |
| if (!display_email_.empty()) { |
|
Roman Sorokin (ftl)
2014/09/05 12:10:35
SaveUserDisplayEmail does nothing cause cannot fin
|
| user_manager::UserManager::Get()->SaveUserDisplayEmail( |
| user_context.GetUserID(), display_email_); |
| display_email_.clear(); |
| } |
| - |
| - // Will call OnProfilePrepared() in the end. |
| - LoginUtils::Get()->PrepareProfile(user_context, |
| - has_auth_cookies, |
| - false, // Start session for user. |
| - this); |
| } |
| void ExistingUserController::OnProfilePrepared(Profile* profile) { |