commit | b3a0ac472cd61dcfede159fc0a85f551e9ca325a | [log] [tgz] |
---|---|---|
author | Kenichi Ishibashi <bashi@chromium.org> | Mon Mar 24 08:13:15 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 24 08:13:15 2025 |
tree | fe38dd74f25c2a9bc342d944f2419330b22d9006 | |
parent | 48cca0143963e8826bfc907d6281969262c99f1a [diff] |
Support dynamic update of the HappyEyeballsV3 feature crrev.com/c/6332599 introduced a startup parameter to enable/disable the feature. The plan was to set the parameter based on an enterprise policy when initializing the NetworkService using ContentBrowserClient, but the plan didn't work well for all platforms. For example, initializing the NetworkService may happen on non-UI threads while the UI thread can only access the PrefService. This CL removes the startup parameter. Instead, this CL adds dynamic update via ConfigureStubHostResolver() as suggested initially [1]. Updating the feature flag requires closing existing connections since the feature controls how the network service establishes connections. To support dynamic update, HttpNetworkSession always initializes HttpStreamPool. This CL doesn't add an enterprise policy yet. A subsequent CL will add the policy. [1] https://chromium-review.googlesource.com/c/chromium/src/+/6332599/comment/4bb5c458_3aa1cb7a/ Bug: 401410305 Change-Id: I8fb10e002c8be60dc95e0f7305cf8939f56c7115 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6381614 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/main@{#1436711}
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.