Add UMA for ChromeOS views-based lockscreen

Desktop / Chromium - Sarah Hu [chromium.org] - 25 October 2017 16:29 EDT

This CL add the following UMA: 1. Times a password was incorrectly entered (unlock, eventual success) 2. Times a password was incorrectly entered (unlock, eventual abandon) 3. Usage of PIN / Password / Smartlock (unlock) 4. Times user clicks other part of the lockscreen. 5. Unlock methods used sliced by mode (tablet / clamshell)

Details can be found here: go/cros-lockscreen-uma

Bug: 719015 Change-Id: Id192762e7defeb13be5f77ebf4ec2511bfb693b9 Reviewed-on: https://chromium-review.googlesource.com/719471 Commit-Queue: Xiaoyin Hu

e0e01a5 Add UMA for ChromeOS views-based lockscreen.
ash/BUILD.gn | 3 +
ash/login/lock_screen_controller.cc | 6 +
ash/login/ui/lock_contents_view.cc | 32 +-
ash/login/ui/lock_contents_view.h | 7 +-
ash/login/ui/lock_screen.cc | 1 +
ash/login/ui/lock_screen_sanity_unittest.cc | 4 -
ash/login/ui/login_password_view_test.cc | 12 -
ash/login/ui/note_action_launch_button.cc | 3 +
ash/metrics/login_metrics_recorder.cc | 106 ++++++
ash/metrics/login_metrics_recorder.h | 85 +++++
ash/metrics/login_metrics_recorder_unittest.cc | 360 +++++++++++++++++++++
ash/metrics/user_metrics_recorder.cc | 14 +
ash/metrics/user_metrics_recorder.h | 12 +
ash/shelf/login_shelf_view.cc | 18 ++
ash/system/ime_menu/ime_menu_tray.cc | 2 +
ash/system/tray/system_tray.cc | 3 +
.../virtual_keyboard/virtual_keyboard_tray.cc | 2 +
.../web_notification/web_notification_tray.cc | 2 +
.../browser/chromeos/login/lock/screen_locker.cc | 1 +
testing/buildbot/filters/ash_unittests_mash.filter | 6 +
tools/metrics/histograms/enums.xml | 27 ++
tools/metrics/histograms/histograms.xml | 50 +++
22 files changed, 735 insertions(+), 21 deletions(-)

Upstream: git.chromium.org


  • Share