commit | ca59fb6b8537be4f7dd76055b5a3761ff78cfcef | [log] [tgz] |
---|---|---|
author | Keita Suzuki <suzukikeita@chromium.org> | Wed Mar 19 11:31:27 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 19 11:31:27 2025 |
tree | a8146b5c6ce5c41b3654dae85115685c05e84293 | |
parent | b61bdee9fbc52e34b706ff6886e801bf2409dca0 [diff] |
Protect LogMilestoneHistograms with IsAllowedToLogUMA This CL updates `AbandonedPageLoadMetricsObserver` to check `IsAllowedToLogUMA` before calling `LogMilestoneHistograms` in `OnCommit` so that we will not send unintended metrics to the UMA. Bug: 390216631 Change-Id: I12600ea57754862bb48ce7f09bba76e9304e8b59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327521 Commit-Queue: Keita Suzuki <suzukikeita@chromium.org> Reviewed-by: Shunya Shishido <sisidovski@chromium.org> Cr-Commit-Position: refs/heads/main@{#1434703}
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.