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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
14 #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" |
15 #include "chrome/browser/supervised_user/supervised_users.h" | 16 #include "chrome/browser/supervised_user/supervised_users.h" |
16 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
17 #include "components/signin/core/browser/signin_manager_base.h" | 18 #include "components/signin/core/browser/signin_manager_base.h" |
18 #include "sync/api/syncable_service.h" | 19 #include "sync/api/syncable_service.h" |
19 | 20 |
20 namespace base { | 21 namespace base { |
21 class DictionaryValue; | 22 class DictionaryValue; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 scoped_ptr<syncer::SyncErrorFactory> error_handler_; | 163 scoped_ptr<syncer::SyncErrorFactory> error_handler_; |
163 | 164 |
164 base::ObserverList<SupervisedUserSyncServiceObserver> observers_; | 165 base::ObserverList<SupervisedUserSyncServiceObserver> observers_; |
165 | 166 |
166 std::vector<SupervisedUsersCallback> callbacks_; | 167 std::vector<SupervisedUsersCallback> callbacks_; |
167 | 168 |
168 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncService); | 169 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncService); |
169 }; | 170 }; |
170 | 171 |
171 #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 |