arc: Add UMA to track first ARC app launch request

Desktop / Chromium - khmel [google.com] - 12 July 2017 17:59 EDT

This tracks the time from when UI is shown to user after sign in to when the user activates first ARC app.

TEST=Manually on device BUG=b/63276467

For minor changes in c/b/ui/app_list/ TBR=xiyuan@chromium.org

Change-Id: If77dbcba01e0d17dd702887c22e60706f7311928 Reviewed-on: https://chromium-review.googlesource.com/563479 Commit-Queue: Yury Khmel

de481ff arc: Add UMA to track first ARC app launch request.
chrome/browser/chromeos/arc/arc_session_manager.cc | 25 +++++---
chrome/browser/chromeos/arc/arc_session_manager.h | 10 +++-
.../chromeos/arc/arc_session_manager_unittest.cc | 68 ++++++++++++++++++++++
.../chromeos/login/session/user_session_manager.cc | 1 +
.../chromeos/login/session/user_session_manager.h | 6 ++
.../browser/ui/app_list/arc/arc_app_list_prefs.cc | 26 ++++++++-
.../browser/ui/app_list/arc/arc_app_list_prefs.h | 4 +-
chrome/browser/ui/app_list/arc/arc_app_unittest.cc | 20 ++++---
chrome/browser/ui/app_list/arc/arc_app_utils.cc | 8 +--
tools/metrics/histograms/histograms.xml | 9 +++
10 files changed, 152 insertions(+), 25 deletions(-)

Upstream: git.chromium.org


  • Share