Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.cc

Issue 328383003: Revert of Introduce SessionManager that will contain code to start user session on Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 5877f86f26ff0e2c376b19540fc5307b60fd4db9..4a4d714a3e486fd1682fe70b4c14490d1d8bad42 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -775,18 +775,14 @@
login_performer_->set_delegate(NULL);
ignore_result(login_performer_.release());
- // Update user's displayed email.
- if (!display_email_.empty()) {
- UserManager::Get()->SaveUserDisplayEmail(user_context.GetUserID(),
- display_email_);
- display_email_.clear();
- }
-
// Will call OnProfilePrepared() in the end.
LoginUtils::Get()->PrepareProfile(user_context,
+ display_email_,
has_cookies,
false, // Start session for user.
this);
+
+ display_email_.clear();
}
void ExistingUserController::OnProfilePrepared(Profile* profile) {

Powered by Google App Engine
This is Rietveld 408576698