Migrate components/data_reduction_proxy/core/browser/secure_proxy_checker.cc...
Migrate components/data_reduction_proxy/core/browser/secure_proxy_checker.cc to using SimpleURLLoader URLFetcher will stop working with advent of Network Service, and SimpleURLLoader is the replacement API for most clients. This CL migrates DRP's SecureProxyChecker and the respective unittests away from URLFetcher. Note that according to tbansal@, using a separate URL request context that disables SPDY/QUIC is not be needed anymore. Another requirement of DRP's SecureProxyChecker is that the use of any proxies is also disabled. For this, the load flag LOAD_BYPASS_PROXY should be enough. This means that the customized class BasicHTTPURLRequestContextGetter is not used anymore, and will be removed in a follow up pass. BUG=879783 Change-Id: I5f62007c284b35f9364caec37984cbf63e813720 Reviewed-on: https://chromium-review.googlesource.com/c/1281643Reviewed-by:Tarun Bansal <tbansal@chromium.org> Reviewed-by:
Matt Menke <mmenke@chromium.org> Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#600022}
Showing
Please register or sign in to comment