[DRP] Remove BasicHTTPURLRequestContextGetter
In [1], DataReductionProxyConfigServiceClient [2] switched from using URLFetcher to SimpleURLLoader for making URL requests. During the discussion phase with tbansal and cduvall, it was mentioned that the URLRequestContext specialization used by DataReductionProxyConfigServiceClient was originally needed to obey two criterias: (i) Use of SPDY and QUIC protocols is explicitly disabled; (ii) Use of any proxies is also disabled. Today, (i) isn't needed and (ii) can be obtained with a specific load flag: net::LOAD_BYPASS_PROXY. Hence, the URLRequestContext specialization (namely BasicHTTPURLRequestContextGetter) became unneeded, since (ii) can be easily respected with the default network context. This CL removes the left over BasicHTTPURLRequestContextGetter and associated code. [1] https://crrev.com/c/1274405 [2] components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc Bug=879784 Change-Id: Ib46fecbbe03c57f0fc9375cb8986da62d77bb525 Reviewed-on: https://chromium-review.googlesource.com/c/1284169Reviewed-by:rajendrant <rajendrant@chromium.org> Reviewed-by:
Tarun Bansal <tbansal@chromium.org> Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#600133}
Showing
Please register or sign in to comment