Index: chromecast/net/connectivity_checker_impl.h |
diff --git a/chromecast/net/connectivity_checker_impl.h b/chromecast/net/connectivity_checker_impl.h |
index 8779d0cc6bf92fff149f247df4f69b1491a49e72..10dcc45fb95a92fde39923aa31cb1fa6f339de59 100644 |
--- a/chromecast/net/connectivity_checker_impl.h |
+++ b/chromecast/net/connectivity_checker_impl.h |
@@ -8,6 +8,7 @@ |
#include "base/cancelable_callback.h" |
#include "base/macros.h" |
#include "chromecast/net/connectivity_checker.h" |
+#include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
#include "net/base/network_change_notifier.h" |
#include "net/url_request/url_request.h" |
@@ -34,7 +35,8 @@ class ConnectivityCheckerImpl |
public: |
// Connectivity checking and initialization will run on task_runner. |
explicit ConnectivityCheckerImpl( |
- const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); |
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, |
+ std::unique_ptr<net::ProxyConfigService> proxy_config_service); |
// ConnectivityChecker implementation: |
bool Connected() const override; |
@@ -99,6 +101,8 @@ class ConnectivityCheckerImpl |
// called. |
base::CancelableCallback<void()> timeout_; |
+ std::unique_ptr<net::ProxyConfigService> proxy_config_service_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ConnectivityCheckerImpl); |
}; |