Add more click metrics for app launches

Desktop / Chromium - Paul Dyson [chromium.org] - 27 February 2019 02:19 EST

- Add more metrics to UKM event AppListAppLaunch.
- Add a new UKM metric AppListAppClickData to send the accumulated click data for an app. On an app launch click, an AppListAppClickData event is sent for the app clicked on and for five other apps chosen at random.

Also makes user_activity_ukm_logger_helpers a public_dep so it can be used here.

Bug: 899123 Change-Id: Ie1d6f17673b9548ef6823d05a362fea8992126b9 Reviewed-on: https://chromium-review.googlesource.com/c/1460750

3cced99b05d4 Add more click metrics for app launches.
chrome/browser/chromeos/BUILD.gn | 2 +-
.../browser/ui/app_list/app_launch_event_logger.cc | 450 +++++++++++++++++----
.../browser/ui/app_list/app_launch_event_logger.h | 91 ++++-
.../ui/app_list/app_launch_event_logger.proto | 24 ++
.../app_list/app_launch_event_logger_unittest.cc | 110 ++++-
tools/metrics/ukm/ukm.xml | 257 ++++++++++++
6 files changed, 832 insertions(+), 102 deletions(-)

Upstream: git.chromium.org


  • Share