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..3caf2edc6e557ee10ab183cb32c769564b3dcd9b 100644 |
| --- a/chrome/browser/profiles/profile_info_cache.cc |
| +++ b/chrome/browser/profiles/profile_info_cache.cc |
| @@ -233,6 +233,9 @@ void ProfileInfoCache::AddProfileToCache( |
| observer_list_, |
| OnProfileAdded(profile_path)); |
| + if (switches::IsNewAvatarMenu()) |
|
noms (inactive)
2014/07/11 13:47:56
I'm sorry, I didn't see this initially because the
Malcolm
2014/07/11 14:18:44
You are right, this should be done before notifica
noms (inactive)
2014/07/11 15:59:11
Default arguments are not allowed in Chromium, unf
|
| + DownloadHighResAvatar(icon_index, profile_path); |
| + |
| content::NotificationService::current()->Notify( |
| chrome::NOTIFICATION_PROFILE_CACHED_INFO_CHANGED, |
| content::NotificationService::AllSources(), |