| Index: chrome/common/pref_names.cc
|
| diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
| index dc7ee69fdf59d3e2f16def23e9374d606bcfd0db..baad88116500af2be4020c714b67d151ba183e5f 100644
|
| --- a/chrome/common/pref_names.cc
|
| +++ b/chrome/common/pref_names.cc
|
| @@ -1505,6 +1505,29 @@ const char kStabilityKernelCrashCount[] =
|
| const char kStabilitySystemUncleanShutdownCount[] =
|
| "user_experience_metrics.stability.system_unclean_shutdowns";
|
|
|
| +#if defined(OS_ANDROID)
|
| +// Activity type that is currently in the foreground for the UMA session.
|
| +// Uses the ActivityTypeIds::Type enum.
|
| +const char kStabilityForegroundActivityType[] =
|
| + "user_experience_metrics.stability.current_foreground_activity_type";
|
| +
|
| +// Tracks which Activities were launched during the last session.
|
| +// See |metrics_service_android.cc| for its usage.
|
| +const char kStabilityLaunchedActivityFlags[] =
|
| + "user_experience_metrics.stability.launched_activity_flags";
|
| +
|
| +// List pref: Counts how many times each Activity was launched.
|
| +// Indexed into by ActivityTypeIds::Type.
|
| +const char kStabilityLaunchedActivityCounts[] =
|
| + "user_experience_metrics.stability.launched_activity_counts";
|
| +
|
| +// List pref: Counts how many times each Activity type was in the foreground
|
| +// when a UMA session failed to be shut down properly.
|
| +// Indexed into by ActivityTypeIds::Type.
|
| +const char kStabilityCrashedActivityCounts[] =
|
| + "user_experience_metrics.stability.crashed_activity_counts";
|
| +#endif
|
| +
|
| // Number of times the browser has been able to register crash reporting.
|
| const char kStabilityBreakpadRegistrationSuccess[] =
|
| "user_experience_metrics.stability.breakpad_registration_ok";
|
|
|