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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/prefs/browser_prefs.h ('k') | chrome/browser/prefs/chrome_pref_service_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index fac503eae182efc64544c5143611bcbdb319f7b2..3bf1e5eb01ee78df6d024755abaf00c0a6d3aa01 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -268,7 +268,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) {
#endif
}
-void RegisterUserPrefs(PrefRegistrySyncable* registry) {
+void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
// User prefs. Please keep this list alphabetized.
AlternateErrorPageTabObserver::RegisterUserPrefs(registry);
autofill::AutofillDialogControllerImpl::RegisterUserPrefs(registry);
@@ -371,8 +371,10 @@ void RegisterUserPrefs(PrefRegistrySyncable* registry) {
// Prefs registered only for migration (clearing or moving to a new
// key) go here.
- registry->RegisterDictionaryPref(kBackupPref, new DictionaryValue(),
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterDictionaryPref(
+ kBackupPref,
+ new DictionaryValue(),
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
void MigrateUserPrefs(Profile* profile) {
« no previous file with comments | « chrome/browser/prefs/browser_prefs.h ('k') | chrome/browser/prefs/chrome_pref_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698