Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 2178833002: Add new app banner metrics using InstallableStatusCode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@banner-integrate-checker-no-refptr
Patch Set: Fix histogram name Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « chrome/browser/installable/installable_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 87938098d312bf886360bf03d6ebd92f53b04a74..386bcc8d726efc52b7f08eec832a5f9016e52da2 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -700,6 +700,18 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="AppBanners.InstallableStatusCode"
+ enum="AppBannersInstallableStatusCode">
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ App banners promote an application related to the current website, and are
+ requested specifically through the current page's HTML. This stat tracks
+ the status code logged by the app banner system as it processes a site's
+ eligibility for an app banner. Every request for a banner will be logged in
+ a bucket of this histogram.
+ </summary>
+</histogram>
+
<histogram name="AppBanners.InstallEvent" enum="AppBannersInstallEvent">
<owner>dfalcantara@chromium.org</owner>
<summary>
@@ -67687,6 +67699,36 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="12" label="Web app banner created"/>
</enum>
+<enum name="AppBannersInstallableStatusCode" type="int">
+ <int value="0" label="No error"/>
+ <int value="1" label="Renderer exiting"/>
+ <int value="2" label="Renderer called beforeinstallprompt.preventDefault()"/>
+ <int value="3" label="User navigated before the banner was shown"/>
+ <int value="4" label="Site not loaded in main frame"/>
+ <int value="5" label="Site not served from a secure origin"/>
+ <int value="6" label="Site did not provide a manifest link"/>
+ <int value="7" label="Manifest was empty or could not be parsed"/>
+ <int value="8" label="Manifest start_url not valid"/>
+ <int value="9" label="Manifest missing name or short_name"/>
+ <int value="10" label="Manifest display not supported"/>
+ <int value="11" label="Manifest missing suitable icon"/>
+ <int value="12" label="No matching service worker"/>
+ <int value="13" label="Could not select suitable icon to download"/>
+ <int value="14" label="Could not download selected icon"/>
+ <int value="15" label="Downloaded icon was empty"/>
+ <int value="16" label="Application platform not supported on Android"/>
+ <int value="17" label="No native app id specified"/>
+ <int value="18" label="URL and manifest specified different native app ids"/>
+ <int value="19" label="Site is already installed"/>
+ <int value="20" label="Insufficient engagement"/>
+ <int value="21" label="Package name or start_url empty"/>
+ <int value="22" label="Banner was previously blocked by the user"/>
+ <int value="23" label="Banner was previously ignored by the user"/>
+ <int value="24" label="Native app banner shown"/>
+ <int value="25" label="Web app banner shown"/>
+ <int value="26" label="Site eligible, but banner creation failed."/>
+</enum>
+
<enum name="AppBannersInstallEvent" type="int">
<int value="21" label="(Native app) User triggered the app install dialog"/>
<int value="22" label="(Native app) User began installing the app"/>
« no previous file with comments | « chrome/browser/installable/installable_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698