commit | 92863d02234d2faef690198f58a985c040995f65 | [log] [tgz] |
---|---|---|
author | Henrique Nakashima <hnakashima@chromium.org> | Tue Sep 12 21:03:12 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 12 21:03:12 2023 |
tree | da66e25804f1141e52c722e2c1dbe1c498f86ee2 | |
parent | f2b8485f3b0794533334436a47ef9050211a11ce [diff] |
[Android] Deprecate CachedFeatureFlags#setFeaturesForTesting() Also migrate existing usages. This method is not means to be used directly; it is called by the flags infra code and even that will be removed. Using the @EnableFeatures and @DisableFeatures annotations is the preferred way to turn cached flags on and off in tests. That requires adding the Features.JUnitProcessor test rule from //chrome/test/util, NOT from //base/test/util at the moment. This confusion with duplicated Features processors is what I am in the process of fixing. Bug: 1481249 Change-Id: Ifb3ec0cdfac63a0d77ef90e8618d550a8c9642fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4851662 Reviewed-by: Michael Thiessen <mthiesse@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Cr-Commit-Position: refs/heads/main@{#1195616}
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.