| Index: chrome/browser/ui/webui/options/manage_profile_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc
|
| index 8c8471e032ffe0805ea3568b7770ce5ba6a9565a..d25446a76b31f943746294d088282ecc462484da 100644
|
| --- a/chrome/browser/ui/webui/options/manage_profile_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc
|
| @@ -182,6 +182,9 @@ void ManageProfileHandler::RegisterMessages() {
|
| web_ui()->RegisterMessageCallback("removeProfileShortcut",
|
| base::Bind(&ManageProfileHandler::RemoveProfileShortcut,
|
| base::Unretained(this)));
|
| + web_ui()->RegisterMessageCallback("refreshGaiaPicture",
|
| + base::Bind(&ManageProfileHandler::RefreshGaiaPicture,
|
| + base::Unretained(this)));
|
| }
|
|
|
| void ManageProfileHandler::Uninitialize() {
|
| @@ -520,4 +523,8 @@ void ManageProfileHandler::RemoveProfileShortcut(const base::ListValue* args) {
|
| OnHasProfileShortcuts(false);
|
| }
|
|
|
| +void ManageProfileHandler::RefreshGaiaPicture(const base::ListValue* args) {
|
| + profiles::UpdateGaiaProfilePhotoIfNeeded(Profile::FromWebUI(web_ui()));
|
| +}
|
| +
|
| } // namespace options
|
|
|