| 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_SETTINGS_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_SERVICE_H_ |
| 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_SERVICE_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_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.h" | 12 #include "base/callback.h" |
| 13 #include "base/callback_list.h" | 13 #include "base/callback_list.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "chrome/browser/supervised_user/supervised_users.h" | 17 #include "chrome/browser/supervised_user/supervised_users.h" |
| 18 #include "components/keyed_service/core/keyed_service.h" | 18 #include "components/keyed_service/core/keyed_service.h" |
| 19 #include "components/prefs/pref_store.h" | 19 #include "components/prefs/pref_store.h" |
| 20 #include "sync/api/syncable_service.h" | 20 #include "components/sync/api/syncable_service.h" |
| 21 | 21 |
| 22 class PersistentPrefStore; | 22 class PersistentPrefStore; |
| 23 class Profile; | 23 class Profile; |
| 24 | 24 |
| 25 namespace base { | 25 namespace base { |
| 26 class FilePath; | 26 class FilePath; |
| 27 class SequencedTaskRunner; | 27 class SequencedTaskRunner; |
| 28 } | 28 } |
| 29 | 29 |
| 30 // This class syncs supervised user settings from a server, which are mapped to | 30 // This class syncs supervised user settings from a server, which are mapped to |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 SettingsCallbackList callback_list_; | 184 SettingsCallbackList callback_list_; |
| 185 | 185 |
| 186 std::unique_ptr<syncer::SyncChangeProcessor> sync_processor_; | 186 std::unique_ptr<syncer::SyncChangeProcessor> sync_processor_; |
| 187 std::unique_ptr<syncer::SyncErrorFactory> error_handler_; | 187 std::unique_ptr<syncer::SyncErrorFactory> error_handler_; |
| 188 | 188 |
| 189 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSettingsService); | 189 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSettingsService); |
| 190 }; | 190 }; |
| 191 | 191 |
| 192 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_SERVICE_H_ | 192 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_SERVICE_H_ |
| OLD | NEW |