Index: chromecast/net/connectivity_checker.cc |
diff --git a/chromecast/net/connectivity_checker.cc b/chromecast/net/connectivity_checker.cc |
index 873ab1e1a5789bfbc45a0ebcfad72a899a7d0671..d4bfd8595d2e1eb39774668246541c1c86bec4c8 100644 |
--- a/chromecast/net/connectivity_checker.cc |
+++ b/chromecast/net/connectivity_checker.cc |
@@ -5,6 +5,7 @@ |
#include "chromecast/net/connectivity_checker.h" |
#include "chromecast/net/connectivity_checker_impl.h" |
+#include "components/proxy_config/pref_proxy_config_tracker.h" |
namespace chromecast { |
@@ -34,8 +35,10 @@ void ConnectivityChecker::Notify(bool connected) { |
// static |
scoped_refptr<ConnectivityChecker> ConnectivityChecker::Create( |
- const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) { |
- return make_scoped_refptr(new ConnectivityCheckerImpl(task_runner)); |
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, |
+ std::unique_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker) { |
+ return make_scoped_refptr(new ConnectivityCheckerImpl( |
+ task_runner, std::move(pref_proxy_config_tracker))); |
} |
} // namespace chromecast |