commit | 2c1ef196ab136b9fc6d8d5e109fa7f4db5e1493d | [log] [tgz] |
---|---|---|
author | Daniel Cheng <dcheng@chromium.org> | Tue Oct 04 14:44:00 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 04 14:44:00 2022 |
tree | 89a9e23542195e45ad187944fb261f1fe64a37ce | |
parent | 035d2cb18a898c7e9d54e9b791e61c4dcc8fa01b [diff] |
Use base::test::FeatureRef for feature vectors in //chrome/browser/profiles. 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. This CL was uploaded by git cl split. R=alexilin@chromium.org Bug: 1370572 Change-Id: Ie51017b323a6066949750f9e209cc848b81fc27b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3933801 Auto-Submit: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Alex Ilin <alexilin@chromium.org> Commit-Queue: Alex Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1054710}
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.