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

Unified Diff: chrome/browser/prefs/profile_pref_store_manager_unittest.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/prefs/profile_pref_store_manager_unittest.cc
diff --git a/chrome/browser/prefs/profile_pref_store_manager_unittest.cc b/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
index 03f47aee6339aba30ed9f9773da32c25bdee1b8e..f8831e05e5f4ebe34af2d9bc42011361604b28fe 100644
--- a/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
+++ b/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
@@ -102,19 +102,12 @@ class ProfilePrefStoreManagerTest : public testing::Test {
it != kConfiguration + arraysize(kConfiguration);
++it) {
if (it->strategy == PrefHashFilter::TRACKING_STRATEGY_ATOMIC) {
- profile_pref_registry_->RegisterStringPref(
- it->name,
- std::string(),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ profile_pref_registry_->RegisterStringPref(it->name, std::string());
} else {
- profile_pref_registry_->RegisterDictionaryPref(
- it->name, user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ profile_pref_registry_->RegisterDictionaryPref(it->name);
}
}
- profile_pref_registry_->RegisterStringPref(
- kUnprotectedPref,
- std::string(),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ profile_pref_registry_->RegisterStringPref(kUnprotectedPref, std::string());
// As in chrome_pref_service_factory.cc, kPreferencesResetTime needs to be
// declared as protected in order to be read from the proper store by the
« no previous file with comments | « chrome/browser/prefs/prefs_syncable_service_unittest.cc ('k') | chrome/browser/prefs/session_startup_pref.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698