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

Unified Diff: chrome/browser/net/ssl_config_service_manager_pref_unittest.cc

Issue 64193003: Clean up PrefServiceBuilder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indentation Created 7 years, 1 month 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/net/ssl_config_service_manager_pref_unittest.cc
diff --git a/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc b/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc
index d9d7767741ee48c81849f0c401d978aa9478a4ff..beeb8eb635c568a256b56f8a90da6566b818ff82 100644
--- a/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc
+++ b/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc
@@ -154,7 +154,7 @@ TEST_F(SSLConfigServiceManagerPrefTest, NoCommandLinePrefs) {
scoped_refptr<TestingPrefStore> local_state_store(new TestingPrefStore());
PrefServiceMockBuilder builder;
- builder.WithUserPrefs(local_state_store.get());
+ builder.set_user_prefs(local_state_store);
scoped_refptr<PrefRegistrySimple> registry = new PrefRegistrySimple;
scoped_ptr<PrefService> local_state(builder.Create(registry.get()));
@@ -205,8 +205,8 @@ TEST_F(SSLConfigServiceManagerPrefTest, CommandLinePrefs) {
command_line.AppendSwitch(switches::kEnableUnrestrictedSSL3Fallback);
PrefServiceMockBuilder builder;
- builder.WithUserPrefs(local_state_store.get());
- builder.WithCommandLine(&command_line);
+ builder.set_user_prefs(local_state_store);
+ builder.SetCommandLine(&command_line);
scoped_refptr<PrefRegistrySimple> registry = new PrefRegistrySimple;
scoped_ptr<PrefService> local_state(builder.Create(registry.get()));

Powered by Google App Engine
This is Rietveld 408576698