Add AshPipEvents UMA metric

Desktop / Chromium - Eliot Courtney [google.com] - 28 February 2019 01:57 EST

This records various individual Picture-in-picture metrics for ChromeOS.

Bug: b/121299293 Test: chrome://histograms - triggered each type of count Test: unit test Change-Id: I397bd5f2d7a17718bf10c1839492610a2eb88cdb Reviewed-on: https://chromium-review.googlesource.com/c/1457811

5ef484a05e7a Add AshPipEvents UMA metric.
ash/BUILD.gn | 1 +
ash/metrics/pip_uma.h | 29 +++++++++
ash/wm/pip/pip_window_resizer.cc | 9 ++-
ash/wm/pip/pip_window_resizer_unittest.cc | 22 +++++++
ash/wm/window_state.cc | 32 ++++++++++
ash/wm/window_state_unittest.cc | 100 ++++++++++++++++++++++++++++++
tools/metrics/histograms/enums.xml | 11 ++++
tools/metrics/histograms/histograms.xml | 7 +++
8 files changed, 209 insertions(+), 2 deletions(-)

Upstream: git.chromium.org


  • Share