Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: chrome/browser/prefs/pref_service_syncable.h

Issue 271793003: components: Extract pref_registry component out of user_prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/prefs/pref_hash_filter.cc ('k') | chrome/browser/prefs/pref_service_syncable.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/pref_hash_filter.cc ('k') | chrome/browser/prefs/pref_service_syncable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698