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

Unified Diff: chrome/browser/prefs/proxy_policy_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/prefs/proxy_policy_unittest.cc
diff --git a/chrome/browser/prefs/proxy_policy_unittest.cc b/chrome/browser/prefs/proxy_policy_unittest.cc
index a2f3e1cda6f0672568b02c3e325fbb8b2ca7b39f..823c204a7b17f0e5071e36b8af37bf79adf16689 100644
--- a/chrome/browser/prefs/proxy_policy_unittest.cc
+++ b/chrome/browser/prefs/proxy_policy_unittest.cc
@@ -97,7 +97,7 @@ class ProxyPolicyTest : public testing::Test {
builder.WithCommandLine(&command_line_);
if (with_managed_policies)
builder.WithManagedPolicies(policy_service_.get());
- PrefService* prefs = builder.Create();
+ PrefServiceSyncable* prefs = builder.CreateSyncable();
chrome::RegisterUserPrefs(prefs);
return prefs;
}

Powered by Google App Engine
This is Rietveld 408576698