OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER_H_ |
7 | 7 |
8 #include "chrome/browser/ui/webui/options2/options_ui.h" | 8 #include "chrome/browser/ui/webui/options2/options_ui.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // |args| is of the form: [ {string} profileFilePath ] | 61 // |args| is of the form: [ {string} profileFilePath ] |
62 void DeleteProfile(const base::ListValue* args); | 62 void DeleteProfile(const base::ListValue* args); |
63 | 63 |
64 // Callback for the 'profileIconSelectionChanged' message. Used to update the | 64 // Callback for the 'profileIconSelectionChanged' message. Used to update the |
65 // name in the manager profile dialog based on the selected icon. | 65 // name in the manager profile dialog based on the selected icon. |
66 void ProfileIconSelectionChanged(const base::ListValue* args); | 66 void ProfileIconSelectionChanged(const base::ListValue* args); |
67 | 67 |
68 // Send all profile icons to the overlay. | 68 // Send all profile icons to the overlay. |
69 // |iconGrid| is the string representation of which grid the icons will | 69 // |iconGrid| is the string representation of which grid the icons will |
70 // populate (i.e. "create-profile-icon-grid" or "manage-profile-icon-grid"). | 70 // populate (i.e. "create-profile-icon-grid" or "manage-profile-icon-grid"). |
71 void SendProfileIcons(base::StringValue* icon_grid); | 71 void SendProfileIcons(const base::StringValue& icon_grid); |
72 | 72 |
73 // URL for the current profile's GAIA picture. | 73 // URL for the current profile's GAIA picture. |
74 std::string gaia_picture_url_; | 74 std::string gaia_picture_url_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); | 76 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace options2 | 79 } // namespace options2 |
80 | 80 |
81 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER_H_ | 81 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_MANAGE_PROFILE_HANDLER_H_ |
OLD | NEW |