| Index: chrome/common/pref_names.cc
|
| diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
| index 94385dd0ae378d1ed364784d44c816bae81cab30..695e8c6c773898ab6f7afc7c5bf0f23755070798 100644
|
| --- a/chrome/common/pref_names.cc
|
| +++ b/chrome/common/pref_names.cc
|
| @@ -1490,6 +1490,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";
|
|
|