| commit | d53ac1de6933e559fcca1a6ca38a0717cf10dbcc | [log] [tgz] |
|---|---|---|
| author | Luc Nguyen <lucnguyen@google.com> | Mon Jan 30 17:47:43 2023 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 30 17:47:43 2023 |
| tree | 0a9ceec5bc9cdadaa46c7578bc377dbc31011af7 | |
| parent | 9799780bb8e96d77eeaf227894dd8565bbe13687 [diff] |
Add log creation reason in chrome://metrics-internals
For example, a log may be closed ("created") because Chrome is
backgrounded. Or maybe it's just a periodic log (once every 5 mins on
mobile, or 30 mins on Desktop). chrome://metrics-internals now
displays the reason.
Also added the reasons in ukm_service.cc (to be able to compile) even though UKM is not yet in chrome://metrics-internals. Although I could
have just used an "unknown" closed reason for now, it seemed trivial
enough to just add the reasons now.
Bug: 1363747
Change-Id: Ifb97ed44acb1440a94b274dd25ece3c7ee7dfbbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4197638
Commit-Queue: Luc Nguyen <lucnguyen@google.com>
Reviewed-by: Robert Kaplow <rkaplow@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1098682}
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.