WebRequest API: Use the main_frame/sub_frame resource type for navigation preload requests.
This CL changes the web request API to use the main_frame and sub_frame resource types for navigation preload requests. Currently these requests use the 'other' resource type. This also requires separating the content::ResourceType::kNavigationPreload type into distinct types for main-frame and sub-frame. BUG=965960 Change-Id: I82340a87d18d9ccb9dc16f66a4c4531aa0f0c94b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1666715Reviewed-by:Mustafa Emre Acer <meacer@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Alex Ilin <alexilin@chromium.org> Reviewed-by:
Istiaque Ahmed <lazyboy@chromium.org> Reviewed-by:
Varun Khaneja <vakh@chromium.org> Reviewed-by:
Ilya Sherman <isherman@chromium.org> Commit-Queue: Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#676640}
Showing
Please register or sign in to comment