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

Unified Diff: chrome/browser/chromeos/proxy_config_service_impl_unittest.cc

Issue 18112018: Cleanup the UseSharedProxies preference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a missing member initializer. Created 7 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
Index: chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
diff --git a/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc b/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
index feffd4df7288fbc701d88136743450cf7dc9c08c..7ecb8cb04a9876b09f015b3057ebd57ce563b4ea 100644
--- a/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
+++ b/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
@@ -221,9 +221,11 @@ class ProxyConfigServiceImplTest : public testing::Test {
SetUpNetwork();
PrefProxyConfigTrackerImpl::RegisterPrefs(pref_service_.registry());
- ProxyConfigServiceImpl::RegisterPrefs(pref_service_.registry());
proxy_config_service_.reset(new ChromeProxyConfigService(NULL));
- config_service_impl_.reset(new ProxyConfigServiceImpl(&pref_service_));
+ // Create a ProxyConfigServiceImpl like for the system request context.
+ config_service_impl_.reset(
+ new ProxyConfigServiceImpl(NULL, // no profile prefs
+ &pref_service_));
config_service_impl_->SetChromeProxyConfigService(
proxy_config_service_.get());
// SetChromeProxyConfigService triggers update of initial prefs proxy

Powered by Google App Engine
This is Rietveld 408576698