OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SETTINGS_PEOPLE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "chrome/browser/sync/sync_startup_tracker.h" | 16 #include "chrome/browser/sync/sync_startup_tracker.h" |
17 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" | 17 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" |
18 #include "chrome/browser/ui/webui/signin/login_ui_service.h" | 18 #include "chrome/browser/ui/webui/signin/login_ui_service.h" |
19 #include "components/prefs/pref_change_registrar.h" | 19 #include "components/prefs/pref_change_registrar.h" |
20 #include "components/signin/core/browser/signin_manager_base.h" | 20 #include "components/signin/core/browser/signin_manager_base.h" |
21 #include "components/sync_driver/sync_service_observer.h" | 21 #include "components/sync/driver/sync_service_observer.h" |
22 | 22 |
23 class LoginUIService; | 23 class LoginUIService; |
24 class ProfileSyncService; | 24 class ProfileSyncService; |
25 class SigninManagerBase; | 25 class SigninManagerBase; |
26 | 26 |
27 namespace content { | 27 namespace content { |
28 class WebContents; | 28 class WebContents; |
29 class WebUI; | 29 class WebUI; |
30 } | 30 } |
31 | 31 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 // Manages observer lifetimes. | 196 // Manages observer lifetimes. |
197 ScopedObserver<SigninManagerBase, PeopleHandler> signin_observer_; | 197 ScopedObserver<SigninManagerBase, PeopleHandler> signin_observer_; |
198 ScopedObserver<ProfileSyncService, PeopleHandler> sync_service_observer_; | 198 ScopedObserver<ProfileSyncService, PeopleHandler> sync_service_observer_; |
199 | 199 |
200 DISALLOW_COPY_AND_ASSIGN(PeopleHandler); | 200 DISALLOW_COPY_AND_ASSIGN(PeopleHandler); |
201 }; | 201 }; |
202 | 202 |
203 } // namespace settings | 203 } // namespace settings |
204 | 204 |
205 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ | 205 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ |
OLD | NEW |