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

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: rebase 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 977e434e879b4d648003c9d3400c327196a90463..eb1eab201826547b4e34c0d41bd2bf53ffbfc440 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -1436,6 +1436,22 @@ 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. UMA sessions last
+ as long as Chrome remains in the foreground.
+ </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). UMA
+ sessions last as long as Chrome remains in the foreground.
+ </summary>
+</histogram>
+
<histogram name="Chrome.Browser.CrashedExecutionPhase" enum="ExecutionPhase">
<summary>
Indicates the execution phase the browser was in when the browser crashed.
@@ -22547,6 +22563,14 @@ other types of suffix sets.
<int value="4" label="Snapped"/>
</enum>
+<enum name="AndroidActivityId" type="int">
+ <int value="1" label="Unknown"/>
+ <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/browser/metrics/metrics_service_android.cc ('K') | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698