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_OPTIONS_MANAGE_PROFILE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/prefs/pref_change_registrar.h" | |
13 #include "chrome/browser/profiles/profile_info_cache_observer.h" | 12 #include "chrome/browser/profiles/profile_info_cache_observer.h" |
14 #include "chrome/browser/ui/webui/options/options_ui.h" | 13 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 14 #include "components/prefs/pref_change_registrar.h" |
15 #include "components/sync_driver/sync_service_observer.h" | 15 #include "components/sync_driver/sync_service_observer.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class StringValue; | 18 class StringValue; |
19 } | 19 } |
20 | 20 |
21 namespace options { | 21 namespace options { |
22 | 22 |
23 // Chrome personal stuff profiles manage overlay UI handler. | 23 // Chrome personal stuff profiles manage overlay UI handler. |
24 class ManageProfileHandler : public OptionsPageUIHandler, | 24 class ManageProfileHandler : public OptionsPageUIHandler, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 // For generating weak pointers to itself for callbacks. | 143 // For generating weak pointers to itself for callbacks. |
144 base::WeakPtrFactory<ManageProfileHandler> weak_factory_; | 144 base::WeakPtrFactory<ManageProfileHandler> weak_factory_; |
145 | 145 |
146 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); | 146 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); |
147 }; | 147 }; |
148 | 148 |
149 } // namespace options | 149 } // namespace options |
150 | 150 |
151 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ | 151 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ |
OLD | NEW |