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

Unified Diff: chrome/browser/extensions/extension_prefs_unittest.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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/extensions/extension_prefs_unittest.cc
diff --git a/chrome/browser/extensions/extension_prefs_unittest.cc b/chrome/browser/extensions/extension_prefs_unittest.cc
index 5a9b340b062b50b4a5eff017b0a18122234ef3f3..cd1b14a5818ac0f1e459f6b8a8e92f642c9b75a0 100644
--- a/chrome/browser/extensions/extension_prefs_unittest.cc
+++ b/chrome/browser/extensions/extension_prefs_unittest.cc
@@ -834,18 +834,14 @@ ExtensionPrefsPrepopulatedTest::ExtensionPrefsPrepopulatedTest()
ExtensionPrefsPrepopulatedTest::~ExtensionPrefsPrepopulatedTest() {}
void ExtensionPrefsPrepopulatedTest::RegisterPreferences() {
- prefs()->pref_service()->RegisterStringPref(kPref1,
- kDefaultPref1,
- PrefService::UNSYNCABLE_PREF);
- prefs()->pref_service()->RegisterStringPref(kPref2,
- kDefaultPref2,
- PrefService::UNSYNCABLE_PREF);
- prefs()->pref_service()->RegisterStringPref(kPref3,
- kDefaultPref3,
- PrefService::UNSYNCABLE_PREF);
- prefs()->pref_service()->RegisterStringPref(kPref4,
- kDefaultPref4,
- PrefService::UNSYNCABLE_PREF);
+ prefs()->pref_service()->RegisterStringPref(
+ kPref1, kDefaultPref1, PrefServiceSyncable::UNSYNCABLE_PREF);
+ prefs()->pref_service()->RegisterStringPref(
+ kPref2, kDefaultPref2, PrefServiceSyncable::UNSYNCABLE_PREF);
+ prefs()->pref_service()->RegisterStringPref(
+ kPref3, kDefaultPref3, PrefServiceSyncable::UNSYNCABLE_PREF);
+ prefs()->pref_service()->RegisterStringPref(
+ kPref4, kDefaultPref4, PrefServiceSyncable::UNSYNCABLE_PREF);
}
void ExtensionPrefsPrepopulatedTest::InstallExtControlledPref(

Powered by Google App Engine
This is Rietveld 408576698