OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PREFS_PREF_SERVICE_SYNCABLE_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_H_ |
6 #define CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_H_ | 6 #define CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_H_ |
7 | 7 |
8 #include "base/prefs/pref_service.h" | 8 #include "base/prefs/pref_service.h" |
9 #include "chrome/browser/prefs/pref_model_associator.h" | 9 #include "chrome/browser/prefs/pref_model_associator.h" |
10 #include "chrome/browser/prefs/synced_pref_observer.h" | 10 #include "chrome/browser/prefs/synced_pref_observer.h" |
11 #include "components/user_prefs/pref_registry_syncable.h" | 11 #include "components/pref_registry/pref_registry_syncable.h" |
12 | 12 |
13 class PrefServiceSyncableObserver; | 13 class PrefServiceSyncableObserver; |
14 class Profile; | 14 class Profile; |
15 | 15 |
16 namespace syncer { | 16 namespace syncer { |
17 class SyncableService; | 17 class SyncableService; |
18 } | 18 } |
19 | 19 |
20 // A PrefService that can be synced. Users are forced to declare | 20 // A PrefService that can be synced. Users are forced to declare |
21 // whether preferences are syncable or not when registering them to | 21 // whether preferences are syncable or not when registering them to |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 PrefModelAssociator pref_sync_associator_; | 107 PrefModelAssociator pref_sync_associator_; |
108 PrefModelAssociator priority_pref_sync_associator_; | 108 PrefModelAssociator priority_pref_sync_associator_; |
109 | 109 |
110 ObserverList<PrefServiceSyncableObserver> observer_list_; | 110 ObserverList<PrefServiceSyncableObserver> observer_list_; |
111 | 111 |
112 DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncable); | 112 DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncable); |
113 }; | 113 }; |
114 | 114 |
115 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_H_ | 115 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_H_ |
OLD | NEW |