[iOS] Add UMA for Opening Tab Switcher While Engaged

Desktop / Chromium - Cooper Knaak [google.com] - 10 August 2017 14:05 EDT

Record user metric actions when the user opens the tab switcher while considered "engaged" with an in-product help promotion bubble. These metrics are only tracked when the user is considered "engaged" to help determine whether the promotion influenced the user to open the tab switcher. If the user has not seen the promotion or saw the promotion too long ago, the metric is not logged.

Bug: 738164 Change-Id: I0842174e2f3716f438d00ec2bac490783c7e64fb Reviewed-on: https://chromium-review.googlesource.com/608856 Commit-Queue: Cooper Knaak

d0a974c [iOS] Add UMA for Opening Tab Switcher While Engaged
ios/chrome/app/main_controller.mm | 1 +
ios/chrome/browser/ui/browser_view_controller.h | 3 +
ios/chrome/browser/ui/browser_view_controller.mm | 108 +++++++++++++----------
3 files changed, 65 insertions(+), 47 deletions(-)

Upstream: git.chromium.org

  • Share