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

Unified Diff: chromecast/net/connectivity_checker.cc

Issue 2647323010: [Chromecast] Add proxy server support to chromecast (Closed)
Patch Set: Fix unittest failure Created 3 years, 10 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.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

Powered by Google App Engine
This is Rietveld 408576698