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

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: Splitting variables 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 b6b0e6591e4ea707973502c44cdfc564c76f96e6..635ed4e218eeade96849e0c30115dd51a11b930e 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1493,6 +1493,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 kStabilityForegroundActivityType[] =
+ "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