Index: chrome/browser/io_thread.h |
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
index e250176d69208587c91f91ff4c5732e4c027e43b..6693d300a32fc07344865b5c27cb6da129b8c19c 100644 |
--- a/chrome/browser/io_thread.h |
+++ b/chrome/browser/io_thread.h |
@@ -86,6 +86,7 @@ class ProxyConfigService; |
class RTTAndThroughputEstimatesObserver; |
class SSLConfigService; |
class URLRequestContext; |
+class URLRequestContextBuilderMojo; |
class URLRequestContextGetter; |
namespace ct { |
@@ -223,6 +224,13 @@ class IOThread : public content::BrowserThreadDelegate { |
bool WpadQuickCheckEnabled() const; |
bool PacHttpsUrlStrippingEnabled() const; |
+ // Configures |builder|'s ProxyService to use the specified |
+ // |proxy_config_service| and sets a number of proxy-related options based on |
+ // prefs, policies, and the command line. |
+ void SetUpProxyConfigService( |
+ net::URLRequestContextBuilderMojo* builder, |
+ std::unique_ptr<net::ProxyConfigService> proxy_config_service) const; |
+ |
private: |
friend class test::IOThreadPeer; |
friend class chrome::TestingIOThreadState; |