Chromium Code Reviews| Index: tools/metrics/histograms/histograms.xml |
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
| index d7f337d86a8bed7eea8b78124bc481e1c0c7fd08..d5c282474edf9d67cda64449e66feb4a1cb9535a 100644 |
| --- a/tools/metrics/histograms/histograms.xml |
| +++ b/tools/metrics/histograms/histograms.xml |
| @@ -66005,6 +66005,58 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
| </summary> |
| </histogram> |
| +<histogram name="WebApk.Install.InstallEvent" enum="WebApkInstallEvent"> |
| + <owner>hanxi@chromium.org</owner> |
| + <owner>pkotwicz@chromium.org</owner> |
| + <owner>yfriedman@chromium.org</owner> |
| + <summary> |
| + WebAPKs are PWAs wrapped in an Android apk, installed from an app banner or |
| + the add to homescreen menu item. This stat tracks the WebAPKs installation |
| + events, including whether the banner is ignored, whether the banner is |
| + dismissed by the user before or during the installation, as well as whether |
| + the installation was successful. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="WebApk.Install.StartType" enum="WebApkInstallStartType"> |
| + <owner>hanxi@chromium.org</owner> |
| + <owner>pkotwicz@chromium.org</owner> |
| + <owner>yfriedman@chromium.org</owner> |
| + <summary> |
| + WebAPKs are PWAs wrapped in an Android apk, installed from an app banner or |
| + the add to homescreen menu item. If the installation is via app banner, user |
| + could either accept to install or dismiss the banner; while via add to |
| + homescreen menu, the installation will start automatically. This stat tracks |
| + the ways that user accepets to install a WebAPK. |
|
dominickn
2016/09/21 06:54:28
Nit: "accepts".
Xi Han
2016/09/21 14:22:09
Done.
|
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="WebApk.Install.TriggeredType" |
| + enum="WebApkInstallTriggeredType"> |
| + <owner>hanxi@chromium.org</owner> |
| + <owner>pkotwicz@chromium.org</owner> |
| + <owner>yfriedman@chromium.org</owner> |
| + <summary> |
| + WebAPKs are PWAs wrapped in an Android apk, installed from an app banner or |
| + the add to homescreen menu item. This stat tracks whether the installation |
| + is triggered by app banner or by add to homescreen menu. |
| + </summary> |
| +</histogram> |
| + |
| +<histogram name="WebApk.Install.UserAction" enum="WebApkUserAction"> |
| + <owner>hanxi@chromium.org</owner> |
| + <owner>pkotwicz@chromium.org</owner> |
| + <owner>yfriedman@chromium.org</owner> |
| + <summary> |
| + WebAPKs are PWAs wrapped in an Android apk, installed from an app banner or |
| + the add to homescreen menu item. If user clicks add to homescreen menu, and |
|
dominickn
2016/09/21 06:54:28
Nit: "If the user"
Xi Han
2016/09/21 14:22:09
Done.
|
| + a WebAPK has been installed before, an app banner with an open button will |
|
dominickn
2016/09/21 06:54:28
Nit: use "infobar" rather than "app banner" unless
Xi Han
2016/09/21 14:22:09
Done.
|
| + show. Besides, the open button will also show on the app banner after a |
|
dominickn
2016/09/21 06:54:28
Nit: remove "Besides", use "infobar" instead of "a
Xi Han
2016/09/21 14:22:09
Done.
|
| + successful installation. This stat tracks whether user clicks the Open |
| + button on the banner or dismiss it. |
| + </summary> |
| +</histogram> |
| + |
| <histogram name="Webapp.Splashscreen.BackgroundColor" |
| enum="SplashscreenColorStatus"> |
| <owner>mlamouri@chromium.org</owner> |
| @@ -99293,6 +99345,32 @@ To add a new entry, add it with any value and run test to compute valid value. |
| <int value="4" label="Session, Warmup"/> |
| </enum> |
| +<enum name="WebApkInstallEvent" type="int"> |
| + <int value="0" label="WebAPK banner is ignored"/> |
| + <int value="1" label="Banner is dismissed before installation"/> |
| + <int value="2" label="Banner is dismissed during installation"/> |
| + <int value="3" label="Success"/> |
| + <int value="4" label="Failed"/> |
| +</enum> |
| + |
| +<enum name="WebApkInstallStartType" type="int"> |
| + <int value="0" label="Installation started from the banner"/> |
| + <int value="1" label="Installation started from the add to homescreen menu"/> |
| +</enum> |
| + |
| +<enum name="WebApkInstallTriggeredType" type="int"> |
| + <int value="0" label="Installation triggered from the banner"/> |
| + <int value="1" |
| + label="Installation triggered from the add to homescreen menu"/> |
| +</enum> |
| + |
| +<enum name="WebApkUserAction" type="int"> |
| + <int value="0" label="Open a previously installed WebAPK"/> |
| + <int value="1" label="Dismiss to open a previously installed WebAPK"/> |
| + <int value="2" label="Open a newly installed WebAPK"/> |
| + <int value="3" label="Dismiss to open a newly installed WebAPK"/> |
| +</enum> |
| + |
| <enum name="WebBluetoothConnectGATTOutcome" type="int"> |
| <int value="0" label="Success"/> |
| <int value="1" label="Device no longer in range"/> |