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

Unified Diff: chrome/browser/media_galleries/media_galleries_preferences.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/media_galleries/media_galleries_preferences.cc
diff --git a/chrome/browser/media_galleries/media_galleries_preferences.cc b/chrome/browser/media_galleries/media_galleries_preferences.cc
index e2d06a7811d327dc22eb5ef8f59d8dccb36e542f..cb7af6d470f00c1521380296eead17e727e8477c 100644
--- a/chrome/browser/media_galleries/media_galleries_preferences.cc
+++ b/chrome/browser/media_galleries/media_galleries_preferences.cc
@@ -662,12 +662,13 @@ bool MediaGalleriesPreferences::APIHasBeenUsed(Profile* profile) {
// static
void MediaGalleriesPreferences::RegisterUserPrefs(
- PrefRegistrySyncable* registry) {
+ user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterListPref(prefs::kMediaGalleriesRememberedGalleries,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterUint64Pref(prefs::kMediaGalleriesUniqueId,
- kInvalidMediaGalleryPrefId + 1,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterUint64Pref(
+ prefs::kMediaGalleriesUniqueId,
+ kInvalidMediaGalleryPrefId + 1,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
extensions::ExtensionPrefs*

Powered by Google App Engine
This is Rietveld 408576698