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

Unified Diff: chrome/browser/sync/invalidations/invalidator_storage.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
Index: chrome/browser/sync/invalidations/invalidator_storage.cc
diff --git a/chrome/browser/sync/invalidations/invalidator_storage.cc b/chrome/browser/sync/invalidations/invalidator_storage.cc
index e88d0e24e012cf1b263712a52bbc51175df49094..ab3b5a6e071c90c2a09e02dcc5bf25f40fd7ada6 100644
--- a/chrome/browser/sync/invalidations/invalidator_storage.cc
+++ b/chrome/browser/sync/invalidations/invalidator_storage.cc
@@ -95,17 +95,21 @@ DictionaryValue* ObjectIdAndStateToValue(
} // namespace
// static
-void InvalidatorStorage::RegisterUserPrefs(PrefRegistrySyncable* registry) {
+void InvalidatorStorage::RegisterUserPrefs(
+ user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterListPref(prefs::kInvalidatorMaxInvalidationVersions,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterStringPref(prefs::kInvalidatorInvalidationState,
- std::string(),
- PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterStringPref(prefs::kInvalidatorClientId,
- std::string(),
- PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterDictionaryPref(prefs::kSyncMaxInvalidationVersions,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterStringPref(
+ prefs::kInvalidatorInvalidationState,
+ std::string(),
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterStringPref(
+ prefs::kInvalidatorClientId,
+ std::string(),
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterDictionaryPref(
+ prefs::kSyncMaxInvalidationVersions,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
InvalidatorStorage::InvalidatorStorage(PrefService* pref_service)

Powered by Google App Engine
This is Rietveld 408576698