
Only create one Browser->NS factory bundle per-frame for routing the subresource requests. Prefetch, Topics, and KeepAlive will share the same channels. Offline testing shows that this improves the Memory.Browser.PrivateMemoryFootprint by 40KB per-frame if Topics is enabled, and by 80KB per-frame if both Topics and the new KeepAlive architecture is enabled. Bug: 1444215 Change-Id: Iabe3b254a3732bc8c5666be9829d9d7ccf4fdf11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4518724 Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Yao Xiao <yaoxia@chromium.org> Cr-Commit-Position: refs/heads/main@{#1142458}