commit | 3b23bea10839e7e113e6365761c0d907c829cd5e | [log] [tgz] |
---|---|---|
author | Wenyu Fu <wenyufu@google.com> | Fri Mar 04 21:42:22 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 04 21:42:22 2022 |
tree | bf6b19f5bbd39d6c2c719d9204212fb7211ae156 | |
parent | 0dc153cf138f750a71703be76dbd1d91dd0b11d2 [diff] |
Make record* protected for ShadowRecordHistogram Record* function in ShadowRecordHistogram should stay protected per robolectrics best practice: http://robolectric.org/extending/#limit-api-surface-area-of-shadows. For #getHistogram*ForTesting, they are not supposed to be deprecated. and they should be the right function to get histogram counts in junit, as the base function RecordHisogram#getHistogram*ForTesting is deprecated and should not be used anymore. Bug: 1301996 Change-Id: Ifa83931bbc46b371eacbeca2e5e38159f5713fc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3498321 Reviewed-by: bttk - <bttk@chromium.org> Reviewed-by: Tommy Nyquist <nyquist@chromium.org> Commit-Queue: Wenyu Fu <wenyufu@chromium.org> Cr-Commit-Position: refs/heads/main@{#977832}
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.