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

Unified Diff: chrome/browser/media_galleries/media_galleries_preferences.cc

Issue 1102733002: Remove most occurences of PrefRegistrySyncable::UNSYNCABLE_PREF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs-add-reg-funcs
Patch Set: Created 5 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 57aae666404f65d7704dcb6b0a596d968504cf64..553f736578be40e59fd6707d1b101bae0e28290d 100644
--- a/chrome/browser/media_galleries/media_galleries_preferences.cc
+++ b/chrome/browser/media_galleries/media_galleries_preferences.cc
@@ -1315,16 +1315,11 @@ bool MediaGalleriesPreferences::APIHasBeenUsed(Profile* profile) {
// static
void MediaGalleriesPreferences::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
- registry->RegisterListPref(prefs::kMediaGalleriesRememberedGalleries,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterUint64Pref(
- prefs::kMediaGalleriesUniqueId,
- kInvalidMediaGalleryPrefId + 1,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterInt64Pref(
- prefs::kMediaGalleriesLastScanTime,
- base::Time().ToInternalValue(),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterListPref(prefs::kMediaGalleriesRememberedGalleries);
+ registry->RegisterUint64Pref(prefs::kMediaGalleriesUniqueId,
+ kInvalidMediaGalleryPrefId + 1);
+ registry->RegisterInt64Pref(prefs::kMediaGalleriesLastScanTime,
+ base::Time().ToInternalValue());
}
bool MediaGalleriesPreferences::SetGalleryPermissionInPrefs(

Powered by Google App Engine
This is Rietveld 408576698