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

Unified Diff: chrome/common/pref_names.cc

Issue 103943006: Let MetricsService know about some Android Activities (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use regular histograms Created 7 years 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
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 6d6e6b32bd846333d58046e035789aed4d53752b..3d829275eb2ef1a2a066399d82ed6e6d4c30fe8f 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1490,6 +1490,33 @@ const char kStabilityKernelCrashCount[] =
const char kStabilitySystemUncleanShutdownCount[] =
"user_experience_metrics.stability.system_unclean_shutdowns";
+#if defined(OS_ANDROID)
+// ID of the Activity that is currently in the foreground.
+const char kStabilityForegroundActivity[] =
+ "user_experience_metrics.stability.foreground_activity";
+
+// ORed set of flags indicating which Activities were launched during the
+// last session.
+const char kStabilityLaunchedActivityFlags[] =
+ "user_experience_metrics.stability.launched_activity_flags";
+
+// Counts how many times the main browser Activity was launched.
+const char kStabilityLaunchCountMainActivity[] =
+ "user_experience_metrics.stability.launch_count_main_activity";
+
+// Counts how many times a FullScreenActivity was launched.
+const char kStabilityLaunchCountFullScreenActivity[] =
+ "user_experience_metrics.stability.launch_count_full_screen_activity";
+
+// Counts how many times the main browser Activity crashed.
+const char kStabilityCrashCountMainActivity[] =
+ "user_experience_metrics.stability.crash_count_main_activity";
+
+// Counts how many times a FullScreenActivity crashed.
+const char kStabilityCrashCountFullScreenActivity[] =
+ "user_experience_metrics.stability.crash_count_full_screen_activity";
+#endif
+
// Number of times the browser has been able to register crash reporting.
const char kStabilityBreakpadRegistrationSuccess[] =
"user_experience_metrics.stability.breakpad_registration_ok";
« chrome/browser/metrics/metrics_service_android.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698