Make URLRequest::proxy_server available through network::ResourceResponseInfo
This is a preparation CL for bug 879777, where data_reduction_proxy::WarmupURLFetcher is being migrated away from URLFetcher in favor of SimpleURLLoader. WarmupURLFetcher unittests' correctness relies on checking whether the appropriate net::ProxyServer instance is used. This CL makes this information available through network::ResourceResponseInfo. Note that, because it is a non-trivial c++ object, an specific IPC trait was implemented, so that the object can be passed across mojo pipes. BUG=879777 Cq-Include-Trybots: luci.chromium.try:linux_mojo Change-Id: I3728ba3173a23ad59dd3bf00877d7b1131944488 Reviewed-on: https://chromium-review.googlesource.com/c/1251642Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Matt Menke <mmenke@chromium.org> Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#596327}
Showing
Please register or sign in to comment