Add support for serving redirects for speculation rules prefetch. This CL allows for prefetches with redirects to be served. After each individual redirect is served, NavigationURLLoaderImpl interrupts the current URL loader and allows all interceptors to try to intercept the new navigation. Therefore, PrefetchStreamingURLLoader and PrefetchURLLoaderInterceptor treat redirects and final response differently. Design Doc: https://docs.google.com/document/d/1VDo5GyoSrpntDKPLbqrTegpflsF5QDSGEkuY_IMMm6A/edit?usp=sharing Bug: 1266876 Change-Id: I498b16758ff6f57cbe8262690474ebbf531a4004 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4346570 Commit-Queue: Max Curran <curranmax@chromium.org> Reviewed-by: Ryan Sturm <ryansturm@chromium.org> Cr-Commit-Position: refs/heads/main@{#1120277}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.