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

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

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix double registration in Chrome Frame test. Created 7 years, 10 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 85f440f62e891f1d51a69c977da32128d5af55fe..23a1aa1ecd65f44eb92b2037fe25988d47e1ef1c 100644
--- a/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
+++ b/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
@@ -235,11 +235,11 @@ class ProxyConfigServiceImplTestBase : public TESTBASE {
: ui_thread_(BrowserThread::UI, &loop_),
io_thread_(BrowserThread::IO, &loop_) {}
- virtual void Init(PrefServiceSimple* pref_service) {
+ virtual void Init(TestingPrefServiceSimple* pref_service) {
ASSERT_TRUE(pref_service);
DBusThreadManager::Initialize();
- PrefProxyConfigTrackerImpl::RegisterPrefs(pref_service);
- ProxyConfigServiceImpl::RegisterPrefs(pref_service);
+ 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));
config_service_impl_->SetChromeProxyConfigService(
« no previous file with comments | « chrome/browser/chromeos/proxy_config_service_impl.cc ('k') | chrome/browser/chromeos/settings/device_settings_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698