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

Unified Diff: chrome/browser/policy/cloud_policy_subsystem_unittest.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. 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/policy/cloud_policy_subsystem_unittest.cc
diff --git a/chrome/browser/policy/cloud_policy_subsystem_unittest.cc b/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
index 2fad6ebd876aa2b31374a8e4eadd6c457fddac45..12147c9d5e3819d45388a53bb770d1e66923b30c 100644
--- a/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
+++ b/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
@@ -115,7 +115,7 @@ class CloudPolicySubsystemTestBase : public testing::Test {
}
virtual void SetUp() {
- prefs_.reset(new TestingPrefService);
+ prefs_.reset(new TestingPrefServiceSimple);
CloudPolicySubsystem::RegisterPrefs(prefs_.get());
((TestingBrowserProcess*) g_browser_process)->SetLocalState(prefs_.get());
@@ -255,7 +255,7 @@ class CloudPolicySubsystemTestBase : public testing::Test {
scoped_ptr<EventLogger> logger_;
scoped_ptr<CloudPolicyDataStore> data_store_;
scoped_ptr<CloudPolicySubsystem> cloud_policy_subsystem_;
- scoped_ptr<PrefService> prefs_;
+ scoped_ptr<PrefServiceSimple> prefs_;
CloudPolicyCacheBase* cache_;
scoped_ptr<TestingPolicyURLFetcherFactory> factory_;

Powered by Google App Engine
This is Rietveld 408576698