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

Unified Diff: chromecast/browser/cast_browser_process.h

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/browser/cast_browser_process.h
diff --git a/chromecast/browser/cast_browser_process.h b/chromecast/browser/cast_browser_process.h
index af5ab10870a8d4d95aba4dad68150311cebc9839..6aa92a69e9c1d662218bd44df2a2424f59cb06ef 100644
--- a/chromecast/browser/cast_browser_process.h
+++ b/chromecast/browser/cast_browser_process.h
@@ -12,6 +12,7 @@
#include "build/build_config.h"
class PrefService;
+class PrefProxyConfigTrackerImpl;
wzhong 2017/02/07 15:56:03 Order
almasrymina 2017/02/08 00:48:04 Removed.
namespace breakpad {
class CrashDumpManager;
@@ -19,6 +20,7 @@ class CrashDumpManager;
namespace net {
class NetLog;
+class ProxyService;
} // namespace net
namespace chromecast {
@@ -69,6 +71,7 @@ class CastBrowserProcess {
void SetConnectivityChecker(
scoped_refptr<ConnectivityChecker> connectivity_checker);
void SetNetLog(net::NetLog* net_log);
+ void SetProxyService();
CastContentBrowserClient* browser_client() const {
return cast_content_browser_client_;
@@ -90,6 +93,7 @@ class CastBrowserProcess {
return connectivity_checker_.get();
}
net::NetLog* net_log() const { return net_log_; }
+ net::ProxyService* proxy_service() const { return proxy_service_.get(); }
private:
// Note: The following order should match the order they are set in
@@ -115,6 +119,9 @@ class CastBrowserProcess {
// Note: CastService must be destroyed before others.
std::unique_ptr<CastService> cast_service_;
+ std::unique_ptr<net::ProxyService> proxy_service_;
+ std::unique_ptr<PrefProxyConfigTrackerImpl> pref_proxy_config_tracker_impl_;
wzhong 2017/02/07 15:56:03 Move to between 105 and 106. Check comment in line
almasrymina 2017/02/08 00:48:03 Removed with new approach.
+
DISALLOW_COPY_AND_ASSIGN(CastBrowserProcess);
};

Powered by Google App Engine
This is Rietveld 408576698