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

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

Issue 267253004: Fetch a new GAIA picture every time chrome://settings/manageProfile comes up. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: chrome/browser/profiles/avatar_menu_actions_desktop.cc
diff --git a/chrome/browser/profiles/avatar_menu_actions_desktop.cc b/chrome/browser/profiles/avatar_menu_actions_desktop.cc
index 7664b61c2d42429f7283ef07f61f74c84d6ec6ef..e84f9d608bb108dcd058eeac71683fbbf344b9b5 100644
--- a/chrome/browser/profiles/avatar_menu_actions_desktop.cc
+++ b/chrome/browser/profiles/avatar_menu_actions_desktop.cc
@@ -49,6 +49,8 @@ void AvatarMenuActionsDesktop::AddNewProfile(ProfileMetrics::ProfileAdd type) {
}
void AvatarMenuActionsDesktop::EditProfile(Profile* profile, size_t index) {
+ profiles::UpdateGAIAProfilePhotoIfNeeded(profile);
+
Browser* settings_browser = browser_;
if (!settings_browser) {
settings_browser = new Browser(

Powered by Google App Engine
This is Rietveld 408576698