Add UMA to track app install banner outcomes.
commit1bd97d30773b89a6be3c07eb7f85ae284e82462d
authordominickn <dominickn@chromium.org>
Fri, 7 Aug 2015 02:29:09 +0000 (6 19:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Aug 2015 02:29:51 +0000 (7 02:29 +0000)
tree1a0c62a4c636f79aefaecf1edd5e8258469e2a5d
parent9240727ec7f769727e99cff42539976f3c6c1f43
Add UMA to track app install banner outcomes.

It is difficult to get a picture for what is happening when banners are
shown, as three separate metrics track a number of fine-grained
outcomes.

This CL adds a new UMA solely tracking the user response to a banner,
that is, once a banner is shown, whether users accept, dismiss, or
ignore it. Native and web apps are tracked by separate metrics.

BUG=516956

Review URL: https://codereview.chromium.org/1269303002

Cr-Commit-Position: refs/heads/master@{#342270}
chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
chrome/browser/android/banners/app_banner_infobar_delegate_android.h
chrome/browser/banners/app_banner_infobar_delegate_desktop.cc
chrome/browser/banners/app_banner_infobar_delegate_desktop.h
chrome/browser/banners/app_banner_metrics.cc
chrome/browser/banners/app_banner_metrics.h
tools/metrics/histograms/histograms.xml