Index: chrome/browser/ui/webui/options/manage_profile_handler.h |
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.h b/chrome/browser/ui/webui/options/manage_profile_handler.h |
index 4960fd57ded2f631e3346a0801e8d8b9ac45af94..c3e535c464c6a523b94386ec277aa15bb67685ee 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.h |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.h |
@@ -27,8 +27,10 @@ class ManageProfileHandler : public OptionsPageUIHandler { |
const NotificationDetails& details); |
private: |
- // Send the array of default profile icon URLs to WebUI. |
- void InitializeDefaultProfileIcons(); |
+ // Callback for the "requestDefaultProfileIcons" message. |
+ // Sends the array of default profile icon URLs to WebUI. |
+ // |args| is of the form: [ {string} iconURL ] |
+ void RequestDefaultProfileIcons(const base::ListValue* args); |
// Sends an object to WebUI of the form: |
// profileNames = { |
@@ -52,8 +54,18 @@ class ManageProfileHandler : public OptionsPageUIHandler { |
// |args| is of the form: [ {string} profileFilePath ] |
void DeleteProfile(const base::ListValue* args); |
+ // Callback for the "requestProfileInfo" message. |
+ // Given |args| of the form: [ {number} profileIndex ] |
+ // Sends an object to WebUI of the form: |
+ // profileInfo = { |
+ // name: "Profile Name", |
+ // iconURL: "chrome://path/to/icon/image", |
+ // filePath: "/path/to/profile/data/on/disk" |
+ // isCurrentProfile: false, |
+ // }; |
+ void RequestProfileInfo(const base::ListValue* args); |
+ |
DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); |
}; |
#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ |
- |