Revert "Use fixed flat maps for defining mojom::PrefPath mappings." This reverts commit 4447fa4706df6c7ae30ab3ebfc215e466d5fd2ac. Reason for revert: Suspected causing compile failure for many bots. Some example failures below https://ci.chromium.org/ui/p/chromium/builders/ci/chromeos-amd64-generic-dbg/73821/overview https://ci.chromium.org/ui/p/chromium/builders/ci/linux-chromeos-dbg/33442/overview Original change's description: > Use fixed flat maps for defining mojom::PrefPath mappings. > > This is more memory efficient and requires no heap allocations. However, > since a constexpr FixedFlatMap requires constexpr input, various pref > constants have been migrated to be defined using constexpr. > > Bug: 1459785 > Change-Id: I9c58fa904481e4e27abe174a15b8823fadbbde52 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4662520 > Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> > Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> > Reviewed-by: Anthony Cui <cuianthony@chromium.org> > Reviewed-by: Lei Zhang <thestig@chromium.org> > Commit-Queue: Daniel Cheng <dcheng@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1166798} Bug: 1459785 Change-Id: I8df173bff3f48a2b1d55db27c368101d21c2362e No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4671749 Reviewed-by: Patti Lor <patricialor@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Owners-Override: Patti Lor <patricialor@chromium.org> Auto-Submit: Patti Lor <patricialor@chromium.org> Commit-Queue: Patti Lor <patricialor@chromium.org> Cr-Commit-Position: refs/heads/main@{#1167237}
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.