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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1391993004: WebApp splashscreen: add UMA to record how a splashscreen is constructed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't assert Created 5 years, 1 month 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/android/javatests/src/org/chromium/chrome/browser/webapps/WebappSplashScreenThemeColorTest.java ('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 566cb645d58ea451ff9a7a6b31552cd710082370..417d5eb7dba804b7907141020560cfa8da673341 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -50054,6 +50054,48 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>HTTP response codes seen by Wallet client.</summary>
</histogram>
+<histogram name="Webapp.Splashscreen.BackgroundColor"
+ enum="SplashscreenColorStatus">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>
+ Records the status of the splashscreen's background color (default or
+ custom).
+ </summary>
+</histogram>
+
+<histogram name="Webapp.Splashscreen.Duration" units="ms">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>Records the time during which the splashscreen was visible.</summary>
+</histogram>
+
+<histogram name="Webapp.Splashscreen.Hides" enum="SplashscreenHidesReason">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>Records the signal that was used to hide the splashscreen.</summary>
+</histogram>
+
+<histogram name="Webapp.Splashscreen.Icon.Size" units="dp">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>
+ Records the size of the icon used to construct the splashscreen in device
+ pixels (ie. real size divided by device pixel density). This is only
+ recording one dimension, the icon being square.
+ </summary>
+</histogram>
+
+<histogram name="Webapp.Splashscreen.Icon.Type" enum="SplashscreenIconType">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>
+ Records the origin of the icon used to construct the splashscreen.
+ </summary>
+</histogram>
+
+<histogram name="Webapp.Splashscreen.ThemeColor" enum="SplashscreenColorStatus">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>
+ Records the status of the splashscreen's theme color (default or custom).
+ </summary>
+</histogram>
+
<histogram name="WebController.ExternalURLRequestBlocking"
enum="IOSExternalURLRequestStatus">
<owner>jyquinn@chromium.org</owner>
@@ -72346,6 +72388,24 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="1" label="Needs restore"/>
</enum>
+<enum name="SplashscreenColorStatus" type="int">
+ <int value="0" label="Default color"/>
+ <int value="1" label="Custom color"/>
+</enum>
+
+<enum name="SplashscreenHidesReason" type="int">
+ <int value="0" label="First Paint"/>
+ <int value="1" label="Page Load Finished"/>
+ <int value="2" label="Page Load Failed"/>
+ <int value="3" label="Crash"/>
+</enum>
+
+<enum name="SplashscreenIconType" type="int">
+ <int value="0" label="No splashscreen icon"/>
+ <int value="1" label="Fallback icon"/>
+ <int value="2" label="Custom icon"/>
+</enum>
+
<enum name="SqliteErrorCode" type="int">
<summary>Error codes returned by SQLite - see sqlite3.h</summary>
<int value="0" label="SQLITE_OK">Successful result</int>
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappSplashScreenThemeColorTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698