Chromium Code Reviews| 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) { |