| 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 bc8c2d6094f30dc784b5da14ee273fa420c6e3ac..9fdf09b453856b0c85c89210c6b87b7419939aca 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() {
|
| @@ -521,4 +524,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
|
|
|