Clean up NavigationSimulator::FailWithResponseHeaders
This change removes all calls from NavigationSimulatorImpl to NavigationRequest::set_response_headers_from_testing. Those calls are not needed anymore, since https://crrev.com/c/2294801 added a method NavigationSimulator::SetResponseHeaders which allows to mock response headers going through the URLLoader. The function NavigationSimulator::FailWithResponseHeaders, which was relying on NavigationRequest::set_response_headers_from_testing, turn out not to be needed anymore and has been removed in this CL. Change-Id: I7ab18e0c2306aab97f4d04ad655fec5aa050f43c Bug: 1094909 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2310416 Commit-Queue: Antonio Sartori <antoniosartori@chromium.org> Reviewed-by:John Delaney <johnidel@chromium.org> Reviewed-by:
Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by:
Tim Schumann <tschumann@chromium.org> Reviewed-by:
Camille Lamy <clamy@chromium.org> Cr-Commit-Position: refs/heads/master@{#804701}
Showing
Please register or sign in to comment