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

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: Cleaning 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
« chrome/browser/metrics/metrics_service.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 1144e7241b0ec572b94a8bdd8a24bc86d4d02287..09483a13882a9f680645eff1e5d5f7bff2c63c1d 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1473,6 +1473,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.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