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_SUPERVISED_USER_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_H_ |
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_H_ |
7 | 7 |
| 8 #include <string> |
8 #include <vector> | 9 #include <vector> |
9 | 10 |
10 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
13 #include "base/prefs/pref_change_registrar.h" | 14 #include "base/prefs/pref_change_registrar.h" |
14 #include "chrome/browser/supervised_user/supervised_user_sync_service_observer.h
" | 15 #include "chrome/browser/supervised_user/supervised_user_sync_service_observer.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 "sync/api/syncable_service.h" | 18 #include "sync/api/syncable_service.h" |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 scoped_ptr<syncer::SyncErrorFactory> error_handler_; | 159 scoped_ptr<syncer::SyncErrorFactory> error_handler_; |
159 | 160 |
160 ObserverList<SupervisedUserSyncServiceObserver> observers_; | 161 ObserverList<SupervisedUserSyncServiceObserver> observers_; |
161 | 162 |
162 std::vector<SupervisedUsersCallback> callbacks_; | 163 std::vector<SupervisedUsersCallback> callbacks_; |
163 | 164 |
164 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncService); | 165 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncService); |
165 }; | 166 }; |
166 | 167 |
167 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_H_ | 168 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_SERVICE_H_ |
OLD | NEW |