Set the prefetch load flag without a resource throttle for compatibility with the network service.
This was originally added in 440645 using a resource throttle. Since resource throttles don't work with the network service (as net runs out of process), instead do this in the same ContentBrowserClient callback which is used to add extra headers for prerendering requests. Also convert a few prefetch tests for this to use the new URLLoaderInterceptor so that they pass with the network service. Bug: 769401 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I993912ff991dda33c0fb58ae8e38f88fd16ee4ac Reviewed-on: https://chromium-review.googlesource.com/802996Reviewed-by:Egor Pasko <pasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#521034}
Showing
Please register or sign in to comment