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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2707993003: [Android]: Hide add-to-homescreen app menu item when WebAPK is installed (Closed)
Patch Set: Add new state for 'Add to Homescreen' Menu item Created 3 years, 9 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 | « tools/metrics/actions/actions.xml ('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 52b7c8e9952c7f8465d1a2ceadae52bfd2ac12d4..824174c6b86fa94119e0263f1eca41d8b4a18457 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -754,6 +754,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Android.PrepareMenu.OpenWebApkVisibilityCheck" units="ms">
+ <owner>hanxi@chromium.org</owner>
+ <owner>pkotwicz@chromium.org</owner>
+ <summary>
+ Measures the amount of time spent querying for whether a WebAPK is already
+ installed.
+ </summary>
+</histogram>
+
<histogram name="Android.SeccompStatus.Prctl" enum="AndroidSeccompStatus">
<owner>rsesek@chromium.org</owner>
<summary>
@@ -74968,6 +74977,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="WebApk.OpenFromMenu" enum="WebApkOpenResult">
+ <owner>hanxi@chromium.org</owner>
+ <owner>pkotwicz@chromium.org</owner>
+ <summary>
+ When a user visits a PWA for which they have a WebAPK installed, the menu
+ item changes from 'Add to homescreen' to 'Open WebAPK'. This stat tracks
+ whether the opening of the WebAPK is successful when this menu item is
+ clicked.
+ </summary>
+</histogram>
+
<histogram name="WebApk.Update.RequestQueued" enum="WebApkUpdateRequestQueued">
<owner>hanxi@chromium.org</owner>
<owner>pkotwicz@chromium.org</owner>
@@ -111579,6 +111599,12 @@ value.
<int value="1" label="Installation started from the add to homescreen menu"/>
</enum>
+<enum name="WebApkOpenResult" type="int">
+ <int value="0" label="Open an installed WebAPK successfully"/>
+ <int value="1" label="Launch intent for WebAPK is null"/>
+ <int value="2" label="Activity for WebAPK not found."/>
+</enum>
+
<enum name="WebApkUpdateRequestQueued" type="int">
<int value="0" label="Queued for the first time"/>
<int value="1" label="Queued for the second time"/>
« no previous file with comments | « tools/metrics/actions/actions.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698