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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 137623002: Let MetricsService know about some Android Activities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: line warp fix Created 6 years, 10 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 6741f7204ad614947874b51415bd06541fb06bc1..0490363b9a3841a1a790215f826b34b46cb256c8 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -1432,6 +1432,20 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="Chrome.Android.Activity.CrashCounts" enum="AndroidActivityId">
+ <summary>
+ Indicates how many times each particular type of Activity was in the
+ foreground when a UMA session was terminated abnormally.
Ilya Sherman 2014/02/08 00:59:49 What is an "UMA session"? Do you mean an instance
gone 2014/02/08 01:16:32 Goes with https://chrome-internal-review.googlesou
Ilya Sherman 2014/02/08 01:18:44 I think it would be good to either document inline
Kibeom Kim (inactive) 2014/02/10 22:24:45 Done.
+ </summary>
+</histogram>
+
+<histogram name="Chrome.Android.Activity.LaunchCounts" enum="AndroidActivityId">
+ <summary>
+ Indicates how many times each particular type of Activity was brought to the
+ foreground when a UMA session was active (i.e. launched at some point).
+ </summary>
+</histogram>
+
<histogram name="Chrome.Browser.CrashedExecutionPhase" enum="ExecutionPhase">
<summary>
Indicates the execution phase the browser was in when the browser crashed.
@@ -21976,6 +21990,14 @@ other types of suffix sets.
<int value="4" label="Snapped"/>
</enum>
+<enum name="AndroidActivityId" type="int">
+ <int value="1" label="Unknown"/>
Ilya Sherman 2014/02/08 00:59:49 Are you intentionally omitting bucket 0? If so, w
gone 2014/02/08 01:16:32 Goes with the list at https://codereview.chromium.
Ilya Sherman 2014/02/08 01:18:44 Makes sense. Thanks :)
+ <int value="2" label="Main"/>
+ <int value="3" label="Preferences"/>
+ <int value="4" label="WebappActivity"/>
+ <int value="5" label="FullScreenActivity"/>
+</enum>
+
<enum name="AndroidEvictionReason" type="int">
<int value="0" label="TabUnusedTooLong"/>
<int value="1" label="TabUnusedInSession"/>
« chrome/common/metrics/metrics_service_base.h ('K') | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698