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 "chrome/browser/prefs/pref_model_associator.h" | 9 #include "chrome/browser/prefs/pref_model_associator.h" |
9 #include "chrome/browser/prefs/pref_service.h" | |
10 | 10 |
11 class PrefRegistrySyncable; | 11 class PrefRegistrySyncable; |
12 class PrefServiceSyncableObserver; | 12 class PrefServiceSyncableObserver; |
13 class Profile; | 13 class Profile; |
14 | 14 |
15 namespace syncer { | 15 namespace syncer { |
16 class SyncableService; | 16 class SyncableService; |
17 } | 17 } |
18 | 18 |
19 // A PrefService that can be synced. Users are forced to declare | 19 // A PrefService that can be synced. Users are forced to declare |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 bool pref_service_forked_; | 82 bool pref_service_forked_; |
83 | 83 |
84 PrefModelAssociator pref_sync_associator_; | 84 PrefModelAssociator pref_sync_associator_; |
85 | 85 |
86 ObserverList<PrefServiceSyncableObserver> observer_list_; | 86 ObserverList<PrefServiceSyncableObserver> observer_list_; |
87 | 87 |
88 DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncable); | 88 DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncable); |
89 }; | 89 }; |
90 | 90 |
91 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_H_ | 91 #endif // CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_H_ |
OLD | NEW |