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

Unified Diff: chrome/browser/profiles/profile_info_cache.cc

Issue 380643002: Profile picture doesn't display correctly after new profile has been created (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update patch Created 6 years, 5 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/profiles/profile_info_cache.cc
diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc
index a6f8d9abb02caa453cd2642ea2aa49105abb51bc..0d9bf67af7f95b50fb00496aaa9410ba59c7d46a 100644
--- a/chrome/browser/profiles/profile_info_cache.cc
+++ b/chrome/browser/profiles/profile_info_cache.cc
@@ -237,6 +237,9 @@ void ProfileInfoCache::AddProfileToCache(
chrome::NOTIFICATION_PROFILE_CACHED_INFO_CHANGED,
content::NotificationService::AllSources(),
content::NotificationService::NoDetails());
+
+ if (switches::IsNewAvatarMenu())
noms (inactive) 2014/07/09 13:37:29 I think it might make more sense to move this to r
Malcolm 2014/07/10 03:54:04 Done, and add TEST= On 2014/07/09 13:37:29, Monica
+ DownloadHighResAvatar(icon_index, profile_path);
}
void ProfileInfoCache::AddObserver(ProfileInfoCacheObserver* obs) {
« 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