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

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

Issue 9972004: Send login notification after initializing default user avatar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
index 9fda6f7765c631a46b972cc6a907d0cae12df660..b06c97dfdcd15cbeb4b27160397b8197195594b6 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc
@@ -380,8 +380,6 @@ void UserManagerImpl::UserLoggedIn(const std::string& email) {
// This user must be in the front of the user list.
users_.insert(users_.begin(), logged_in_user_);
- NotifyOnLogin();
-
if (is_current_user_new_) {
SetInitialUserImage(email);
} else {
@@ -413,6 +411,8 @@ void UserManagerImpl::UserLoggedIn(const std::string& email) {
histogram_index,
kHistogramImagesCount);
}
+
+ NotifyOnLogin();
}
void UserManagerImpl::DemoUserLoggedIn() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698