commit | 027bcfbd18c80b0ebeac5d27b12b79b6edb1c56a | [log] [tgz] |
---|---|---|
author | Kinuko Yasuda <[email protected]> | Thu Dec 05 12:49:08 2019 |
committer | Commit Bot <[email protected]> | Thu Dec 05 12:49:08 2019 |
tree | 48160497cdca6a5b0605c932510bc23d0e985c2d | |
parent | b8ccc628eb53c1df6234b896d69f97c732f5ef31 [diff] [blame] |
Make WebPrescientNetworking per-frame This makes per-process batching into per-frame, which means that the browser side may get more IPC & DNS prefetch requests *if* a page / the process has many subframes. On the other hand, it still will be rate-limited at per-frame level, and if a page is having too many frames it can also put various resource problems so I'm not expecting that this particular change would cause new problems. Bug: 997049 Change-Id: Ib51518efba11859ab672464f8e6c60180f7c860f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936407 Commit-Queue: Kinuko Yasuda <[email protected]> Reviewed-by: Yuchen Liu <[email protected]> Reviewed-by: Alex Ilin <[email protected]> Reviewed-by: Yutaka Hirano <[email protected]> Reviewed-by: Matt Menke <[email protected]> Reviewed-by: Dominic Farolino <[email protected]> Cr-Commit-Position: refs/heads/master@{#721985}
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h index 662bdfdb..bd0a6fd 100644 --- a/content/renderer/render_frame_impl.h +++ b/content/renderer/render_frame_impl.h
@@ -652,6 +652,8 @@ blink::WebExternalPopupMenu* CreateExternalPopupMenu( const blink::WebPopupMenuInfo& popup_menu_info, blink::WebExternalPopupMenuClient* popup_menu_client) override; + std::unique_ptr<blink::WebPrescientNetworking> CreatePrescientNetworking() + override; blink::BlameContext* GetFrameBlameContext() override; std::unique_ptr<blink::WebServiceWorkerProvider> CreateServiceWorkerProvider() override;