| 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 { |
| 11 class StringValue; | 11 class StringValue; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace options2 { | 14 namespace options { |
| 15 | 15 |
| 16 // Chrome personal stuff profiles manage overlay UI handler. | 16 // Chrome personal stuff profiles manage overlay UI handler. |
| 17 class ManageProfileHandler : public OptionsPageUIHandler { | 17 class ManageProfileHandler : public OptionsPageUIHandler { |
| 18 public: | 18 public: |
| 19 ManageProfileHandler(); | 19 ManageProfileHandler(); |
| 20 virtual ~ManageProfileHandler(); | 20 virtual ~ManageProfileHandler(); |
| 21 | 21 |
| 22 // OptionsPageUIHandler: | 22 // OptionsPageUIHandler: |
| 23 virtual void GetLocalizedValues( | 23 virtual void GetLocalizedValues( |
| 24 base::DictionaryValue* localized_strings) OVERRIDE; | 24 base::DictionaryValue* localized_strings) OVERRIDE; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(const 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 options |
| 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 |