| Index: chrome/browser/prefs/command_line_pref_store_proxy_unittest.cc
|
| diff --git a/chrome/browser/prefs/command_line_pref_store_proxy_unittest.cc b/chrome/browser/prefs/command_line_pref_store_proxy_unittest.cc
|
| index 366d86da5a80993162b3cf6ca1fe3263c272652a..c28d78c1b897de686dd2ac1ec58ba3e852cf9123 100644
|
| --- a/chrome/browser/prefs/command_line_pref_store_proxy_unittest.cc
|
| +++ b/chrome/browser/prefs/command_line_pref_store_proxy_unittest.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/prefs/pref_registry_simple.h"
|
| #include "base/prefs/pref_service.h"
|
| +#include "chrome/browser/prefs/command_line_pref_store.h"
|
| #include "chrome/browser/prefs/pref_service_mock_factory.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "components/proxy_config/pref_proxy_config_tracker_impl.h"
|
| @@ -170,7 +171,7 @@ class CommandLinePrefStoreProxyTest
|
| scoped_refptr<PrefRegistrySimple> registry = new PrefRegistrySimple;
|
| PrefProxyConfigTrackerImpl::RegisterPrefs(registry.get());
|
| PrefServiceMockFactory factory;
|
| - factory.SetCommandLine(&command_line_);
|
| + factory.set_command_line_prefs(new CommandLinePrefStore(&command_line_));
|
| pref_service_ = factory.Create(registry.get()).Pass();
|
| PrefProxyConfigTrackerImpl::ReadPrefConfig(pref_service_.get(),
|
| &proxy_config_);
|
|
|