commit | 21725720cf7084fd17e990ecefff80805ca0f3af | [log] [tgz] |
---|---|---|
author | Josh Nohle <nohle@google.com> | Tue May 18 20:50:14 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 18 20:50:14 2021 |
tree | 641a70b02e5c93c727f80d417be2a9e8a2ef2957 | |
parent | 21e17e1daf7fd99dadd47aff26251817f5f39018 [diff] |
[Nearby] Log metrics on enabled/disabled state change Previously, Nearby.Share.Enabled was only emitted on sign-in. This makes data analysis tricky because Nearby.Share.Enabled is not immediately updated after onboarding, for example. The metric becomes a lagging indicator. In this CL, we emit to Nearby.Share.Enabled on sign-in and also when the feature state changes. We also log a new metric, Nearby.Share.EnabledStateChanged, that only tracks changes from disable to enabled and vice versa. Manually verified histograms via chrome://histograms Bug: 1105579 Change-Id: I3c2ea03ce7e6c734e99bb944783d6a08f6317606 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2904121 Commit-Queue: Josh Nohle <nohle@chromium.org> Commit-Queue: James Vecore <vecore@google.com> Auto-Submit: Josh Nohle <nohle@chromium.org> Reviewed-by: James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#884132}
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.