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

Unified Diff: chromecast/net/connectivity_checker_impl.h

Issue 2647323010: [Chromecast] Add proxy server support to chromecast (Closed)
Patch Set: Cleanup 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..ef0edb7416dd7eaee27e08cf6b4a468ff3cb3d7b 100644
--- a/chromecast/net/connectivity_checker_impl.h
+++ b/chromecast/net/connectivity_checker_impl.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "chromecast/net/connectivity_checker.h"
#include "net/base/network_change_notifier.h"
+#include "net/proxy/proxy_config.h"
#include "net/url_request/url_request.h"
class GURL;
@@ -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,
+ net::ProxyConfig& proxy_config);
// ConnectivityChecker implementation:
bool Connected() const override;
@@ -99,6 +101,8 @@ class ConnectivityCheckerImpl
// called.
base::CancelableCallback<void()> timeout_;
+ net::ProxyConfig proxy_config_;
+
DISALLOW_COPY_AND_ASSIGN(ConnectivityCheckerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698