-
Reilly Grant authored
This change replaces the header modification logic implemented in ChromeResourceDispatchHostDelegate with a URLLoaderThrottle that is configured for all navigation requests. To support modifying headers (in addition to removing them) before following a redirect a |modified_request_headers| parameter has been added to URLLoaderThrottle::WillRedirectRequest(). Bug: 789670 Cq-Include-Trybots: luci.chromium.try:linux_mojo Change-Id: Ibd58b0367bbe2a519dfb1cf85a4e5e6ec7eeeffa Reviewed-on: https://chromium-review.googlesource.com/1139089 Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by:
Mihai Sardarescu <msarda@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#584270}
37877801