commit | d5c7ac0c2096821e84b00288a461421d57ca6853 | [log] [tgz] |
---|---|---|
author | Jan Wilken Dörrie <jdoerrie@chromium.org> | Fri Dec 11 01:30:56 2020 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 11 01:30:56 2020 |
tree | 818cfb695373f29ded7261b361848be92f34e77b | |
parent | ff719d755b42f9e4313122deca1f8b15d508ae0a [diff] |
[base] Simplify and improve base::Contains This change simplifies and improves the implementation of base::Contains, adding support for projections and constexpr. This required making base::ranges::find constexpr as well, dropping the dispatch to std::find in favor of a hand rolled for-loop. Bug: 970209 Change-Id: I7728385e8931b7da00a9b998bb043dd6a912e2a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584306 Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#835940}
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.
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.