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

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

Issue 14646002: Add another set of UMA histograms for tab switching on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add new value for TabRestoreUserAction Created 7 years, 8 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | 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 b440c9c353a457e3abe1cf36d8d8bc8e20b7cc55..bd2746eb2184370bf8cbd6f185c7c0601530edde 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -5899,6 +5899,25 @@ other types of suffix sets.
<summary>Error codes returned by sqlite the web db.</summary>
</histogram>
+<histogram name="Tab.RestoreResult" enum="BooleanSuccess">
+ <summary>
+ When the browser restores a tab, whether the load was successful. Loads can
+ fail for instance when there is no connectivity.
+ </summary>
+</histogram>
+
+<histogram name="Tab.RestoreTime" units="ms">
+ <summary>Load time for a successful tab restore.</summary>
+</histogram>
+
+<histogram name="Tab.RestoreUserPersistence" enum="TabRestoreUserAction">
+ <summary>
+ When the browser restores a tab, whether the user waits for completion of
+ the load or if the user gives up by switching to another tab or leaving
+ Chrome.
+ </summary>
+</histogram>
+
<histogram name="Tab.SwitchedToForegroundAge" units="ms">
<summary>Age (in ms) when the tab was switched to foreground.</summary>
</histogram>
@@ -9454,6 +9473,13 @@ other types of suffix sets.
</int>
</enum>
+<enum name="TabRestoreUserAction" type="int">
+ <int value="0" label="Wait for completion"/>
+ <int value="1" label="Switch to another tab"/>
+ <int value="2" label="Close tab"/>
ppi 2013/05/06 13:34:55 It seems that none of these covers the case of the
Philippe 2013/05/06 13:47:51 Good idea. I will update the downstream CL accordi
+ <int value="3" label="Leave Chrome"/>
+</enum>
+
<enum name="TabSwitchedToForegroundLaunchedWithURL" type="int">
<int value="0" label="Launched without an URL"/>
<int value="1" label="Launched with an URL"/>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698