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

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

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. Created 7 years, 10 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_registry_simple.cc ('k') | chrome/browser/prefs/pref_service.h » ('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_REGISTRY_SYNCABLE_H_ 5 #ifndef CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_
6 #define CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_ 6 #define CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/browser/prefs/pref_registry.h" 11 #include "base/prefs/pref_registry.h"
12 12
13 namespace base { 13 namespace base {
14 class DictionaryValue; 14 class DictionaryValue;
15 class FilePath; 15 class FilePath;
16 class ListValue; 16 class ListValue;
17 class Value; 17 class Value;
18 } 18 }
19 19
20 // A PrefRegistry that forces users to choose whether each registered 20 // A PrefRegistry that forces users to choose whether each registered
21 // preference is syncable or not. 21 // preference is syncable or not.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 SyncableRegistrationCallback callback_; 102 SyncableRegistrationCallback callback_;
103 103
104 // Contains the names of all registered preferences that are syncable. 104 // Contains the names of all registered preferences that are syncable.
105 std::set<std::string> syncable_preferences_; 105 std::set<std::string> syncable_preferences_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(PrefRegistrySyncable); 107 DISALLOW_COPY_AND_ASSIGN(PrefRegistrySyncable);
108 }; 108 };
109 109
110 #endif // CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_ 110 #endif // CHROME_BROWSER_PREFS_PREF_REGISTRY_SYNCABLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/pref_registry_simple.cc ('k') | chrome/browser/prefs/pref_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698