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

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

Issue 15684005: Do not reset LM user image on first signin (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix if/else Created 7 years, 7 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_image_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/user_image_manager_impl.cc b/chrome/browser/chromeos/login/user_image_manager_impl.cc
index 5c891bfb29ecca84e904feaa02297b81a8a3a686..0af147985c09b4e19d4f2f36ed8f0a095dca132f 100644
--- a/chrome/browser/chromeos/login/user_image_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_image_manager_impl.cc
@@ -267,7 +267,8 @@ void UserImageManagerImpl::UserLoggedIn(const std::string& email,
bool user_is_new,
bool user_is_local) {
if (user_is_new) {
- SetInitialUserImage(email);
+ if (!user_is_local)
+ SetInitialUserImage(email);
} else {
User* user = UserManager::Get()->GetLoggedInUser();
« 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