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

Unified Diff: chrome/browser/resources/options/browser_options_profile_list.js

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/resources/options/browser_options_profile_list.js
diff --git a/chrome/browser/resources/options/browser_options_profile_list.js b/chrome/browser/resources/options/browser_options_profile_list.js
index 429780ede632a32dc16a9296bc2d735e7b39a452..b995ca0946b2ef57c0d5b6f5c78baa981e3397e5 100644
--- a/chrome/browser/resources/options/browser_options_profile_list.js
+++ b/chrome/browser/resources/options/browser_options_profile_list.js
@@ -117,8 +117,10 @@ cr.define('options.browser_options', function() {
activateItemAtIndex: function(index) {
// Don't allow the user to edit a profile that is not current.
var profileInfo = this.dataModel.item(index);
- if (profileInfo.isCurrentProfile)
+ if (profileInfo.isCurrentProfile) {
+ chrome.send('refreshGAIAPicture');
ManageProfileOverlay.showManageDialog(profileInfo);
+ }
},
/**

Powered by Google App Engine
This is Rietveld 408576698