OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SUPERVISED_USER_LEGACY_SUPERVISED_USER_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_SYNC_SERVICE_H_ |
6 #define CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_SYNC_SERVICE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "chrome/browser/supervised_user/legacy/supervised_user_sync_service_obs
erver.h" | 15 #include "chrome/browser/supervised_user/legacy/supervised_user_sync_service_obs
erver.h" |
16 #include "chrome/browser/supervised_user/supervised_users.h" | 16 #include "chrome/browser/supervised_user/supervised_users.h" |
17 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
18 #include "components/signin/core/browser/signin_manager_base.h" | 18 #include "components/signin/core/browser/signin_manager_base.h" |
19 #include "sync/api/syncable_service.h" | 19 #include "components/sync/api/syncable_service.h" |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class DictionaryValue; | 22 class DictionaryValue; |
23 } | 23 } |
24 | 24 |
25 namespace user_prefs { | 25 namespace user_prefs { |
26 class PrefRegistrySyncable; | 26 class PrefRegistrySyncable; |
27 } | 27 } |
28 | 28 |
29 class PrefService; | 29 class PrefService; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 std::unique_ptr<syncer::SyncErrorFactory> error_handler_; | 163 std::unique_ptr<syncer::SyncErrorFactory> error_handler_; |
164 | 164 |
165 base::ObserverList<SupervisedUserSyncServiceObserver> observers_; | 165 base::ObserverList<SupervisedUserSyncServiceObserver> observers_; |
166 | 166 |
167 std::vector<SupervisedUsersCallback> callbacks_; | 167 std::vector<SupervisedUsersCallback> callbacks_; |
168 | 168 |
169 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncService); | 169 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncService); |
170 }; | 170 }; |
171 | 171 |
172 #endif // CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_SYNC_SERVICE_H_ | 172 #endif // CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_SYNC_SERVICE_H_ |
OLD | NEW |