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

Unified Diff: chrome/browser/pref_member_unittest.cc

Issue 2823037: Add an ExtensionPrefStore, layered between the user prefs nad the managed pre... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « chrome/browser/net/chrome_url_request_context_unittest.cc ('k') | chrome/browser/pref_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/pref_member_unittest.cc
===================================================================
--- chrome/browser/pref_member_unittest.cc (revision 52073)
+++ chrome/browser/pref_member_unittest.cc (working copy)
@@ -53,7 +53,8 @@
} // anonymous namespace
TEST(PrefMemberTest, BasicGetAndSet) {
- PrefService prefs(new PrefValueStore(NULL, new DummyPrefStore(), NULL));
+ PrefService prefs(new PrefValueStore(NULL, NULL, new DummyPrefStore(),
+ NULL));
RegisterTestPrefs(&prefs);
// Test bool
@@ -143,7 +144,8 @@
TEST(PrefMemberTest, TwoPrefs) {
// Make sure two RealPrefMembers stay in sync.
- PrefService prefs(new PrefValueStore(NULL, new DummyPrefStore(), NULL));
+ PrefService prefs(new PrefValueStore(NULL, NULL, new DummyPrefStore(),
+ NULL));
RegisterTestPrefs(&prefs);
RealPrefMember pref1;
@@ -163,7 +165,8 @@
}
TEST(PrefMemberTest, Observer) {
- PrefService prefs(new PrefValueStore(NULL, new DummyPrefStore(), NULL));
+ PrefService prefs(new PrefValueStore(NULL, NULL, new DummyPrefStore(),
+ NULL));
RegisterTestPrefs(&prefs);
PrefMemberTestClass test_obj(&prefs);
« no previous file with comments | « chrome/browser/net/chrome_url_request_context_unittest.cc ('k') | chrome/browser/pref_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698