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

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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index a54cd2d0a99184ed3ab68f27dd84471cf76e7bf6..49eaaa98eafc2d5483424b59faeff15e6f07773a 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>
@@ -74800,6 +74809,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>
@@ -111372,6 +111392,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"/>

Powered by Google App Engine
This is Rietveld 408576698