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

Unified Diff: chromecast/net/connectivity_checker_impl.h

Issue 2647323010: [Chromecast] Add proxy server support to chromecast (Closed)
Patch Set: Update connectivity checker to make it compile on desktop Created 3 years, 11 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: 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);
};

Powered by Google App Engine
This is Rietveld 408576698