commit | 7d8609fc98efc5a9219ab44cfacacaa3105a1b66 | [log] [tgz] |
---|---|---|
author | Daniel Cheng <dcheng@chromium.org> | Fri Oct 07 08:49:00 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 07 08:49:00 2022 |
tree | 3ca7342b22fb887e088c7aaa1d16575779c164f7 | |
parent | 4545a8410a0836a924a3726cc3276f56dcb7bbec [diff] |
Use base::test::FeatureRef for feature vectors in //net and //services/network. A base::Feature should not be copyable; a feature is intended to have a single global instance, as it caches internal mutable state. Feature vectors in conjunction with `base::test::ScopedFeatureList` are by far the most common use of the base::Feature copy constructor. This is a mostly automated replacement of `std::vector<base::Feature>` with `std::vector<base::test::FeatureRef>` to remove that dependency. Bug: 1370572 Change-Id: I06469aa026676c5d3c366d17a787de575e645a5e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3933546 Reviewed-by: Matt Menke <mmenke@chromium.org> Auto-Submit: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/main@{#1056194}
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.