commit | 4f45ff9316a932969423b1f5a0ad9357e9d097e7 | [log] [tgz] |
---|---|---|
author | Daniel Cheng <dcheng@chromium.org> | Wed Sep 28 00:47:35 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 28 00:47:35 2022 |
tree | 220c948bbbaa9d09fce5404e69bf5320dda9e977 | |
parent | d8517b1423e090a956aa0262eb673613cd0ed0f4 [diff] |
Use helper macros to define base::Features in //sql This allows: - features to be defined with a consistent set of qualifiers, and for that set of qualifiers to be updated over time as appropriate. - better PRESUBMIT checks to ensure that base::Features are not defined in headers. - simplifies things for scripts trying to extract feature definitions out of C++ code. The primary CL was generated using a script that automatically rewrites base::Feature declarations and definitions to the macro form. Changes to any files with known incompatibilities with the macros (base::Features without static storage duration and base::Features declared as static class members) were then fully reverted; those changes will be manually handled in followups. This CL was uploaded by git cl split. R=asully@chromium.org Bug: 1364289 Change-Id: Ib72314440a729540f22a58022fab85cab5dc6a19 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3923023 Auto-Submit: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Austin Sullivan <asully@chromium.org> Commit-Queue: Austin Sullivan <asully@chromium.org> Cr-Commit-Position: refs/heads/main@{#1052139}
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.