Chromium Code Reviews| 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..293962dd9046632800b8fc2997cb04fb6607bf97 100644 |
| --- a/chrome/browser/ui/webui/options/manage_profile_handler.h |
| +++ b/chrome/browser/ui/webui/options/manage_profile_handler.h |
| @@ -27,8 +27,9 @@ class ManageProfileHandler : public OptionsPageUIHandler { |
| const NotificationDetails& details); |
| private: |
| + // Callback for the "requestDefaultProfileIcons" message. |
| // Send the array of default profile icon URLs to WebUI. |
|
James Hawkins
2011/10/04 20:33:42
s/Send/Sends/
Document |args|.
binji
2011/10/04 21:39:56
Done.
|
| - void InitializeDefaultProfileIcons(); |
| + void RequestDefaultProfileIcons(const base::ListValue* args); |
| // Sends an object to WebUI of the form: |
| // profileNames = { |
| @@ -52,8 +53,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_ |
| - |