Chromium Code Reviews| Index: components/metrics/metrics_pref_names.cc |
| diff --git a/components/metrics/metrics_pref_names.cc b/components/metrics/metrics_pref_names.cc |
| index c5ad9c6abf561e8c49822a7e58283da8777dfe70..ab0c2566cc939b79e1cfaab3c61ce88a55fc3eb2 100644 |
| --- a/components/metrics/metrics_pref_names.cc |
| +++ b/components/metrics/metrics_pref_names.cc |
| @@ -3,6 +3,7 @@ |
| // found in the LICENSE file. |
| #include "components/metrics/metrics_pref_names.h" |
| +#include "components/metrics/stability_pref_names.h" |
|
Alexei Svitkine (slow)
2017/02/17 16:02:23
Why is this needed?
Steven Holte
2017/02/17 20:21:32
Mostly I just felt it kept prefs organized. I'll
Alexei Svitkine (slow)
2017/02/17 20:33:44
Sorry, I meant the include shouldn't be needed sin
|
| namespace metrics { |
| namespace prefs { |
| @@ -66,131 +67,6 @@ const char kMetricsSessionID[] = "user_experience_metrics.session_id"; |
| const char kMetricsLastSeenPrefix[] = |
| "user_experience_metrics.last_seen."; |
| -// Number of times the browser has been able to register crash reporting. |
| -const char kStabilityBreakpadRegistrationSuccess[] = |
| - "user_experience_metrics.stability.breakpad_registration_ok"; |
| - |
| -// Number of times the browser has failed to register crash reporting. |
| -const char kStabilityBreakpadRegistrationFail[] = |
| - "user_experience_metrics.stability.breakpad_registration_fail"; |
| - |
| -// Total number of child process crashes (other than renderer / extension |
| -// renderer ones, and plugin children, which are counted separately) since the |
| -// last report. |
| -const char kStabilityChildProcessCrashCount[] = |
| - "user_experience_metrics.stability.child_process_crash_count"; |
| - |
| -// Number of times the application exited uncleanly since the last report. |
| -const char kStabilityCrashCount[] = |
| - "user_experience_metrics.stability.crash_count"; |
| - |
| -// Number of times the initial stability log upload was deferred to the next |
| -// startup. |
| -const char kStabilityDeferredCount[] = |
| - "user_experience_metrics.stability.deferred_count"; |
| - |
| -// Number of times stability data was discarded. This is accumulated since the |
| -// last report, even across versions. |
| -const char kStabilityDiscardCount[] = |
| - "user_experience_metrics.stability.discard_count"; |
| - |
| -// Number of times the browser has been run under a debugger. |
| -const char kStabilityDebuggerPresent[] = |
| - "user_experience_metrics.stability.debugger_present"; |
| - |
| -// Number of times the browser has not been run under a debugger. |
| -const char kStabilityDebuggerNotPresent[] = |
| - "user_experience_metrics.stability.debugger_not_present"; |
| - |
| -// An enum value to indicate the execution phase the browser was in. |
| -const char kStabilityExecutionPhase[] = |
| - "user_experience_metrics.stability.execution_phase"; |
| - |
| -// True if the previous run of the program exited cleanly. |
| -const char kStabilityExitedCleanly[] = |
| - "user_experience_metrics.stability.exited_cleanly"; |
| - |
| -// Number of times an extension renderer process crashed since the last report. |
| -const char kStabilityExtensionRendererCrashCount[] = |
| - "user_experience_metrics.stability.extension_renderer_crash_count"; |
| - |
| -// Number of times an extension renderer process failed to launch since the last |
| -// report. |
| -const char kStabilityExtensionRendererFailedLaunchCount[] = |
| - "user_experience_metrics.stability.extension_renderer_failed_launch_count"; |
| - |
| -// Number of times an extension renderer process successfully launched since the |
| -// last report. |
| -const char kStabilityExtensionRendererLaunchCount[] = |
| - "user_experience_metrics.stability.extension_renderer_launch_count"; |
| - |
| -// Number of times the session end did not complete. |
| -const char kStabilityIncompleteSessionEndCount[] = |
| - "user_experience_metrics.stability.incomplete_session_end_count"; |
| - |
| -// Time when the app was last known to be running, in seconds since |
| -// the epoch. |
| -const char kStabilityLastTimestampSec[] = |
| - "user_experience_metrics.stability.last_timestamp_sec"; |
| - |
| -// Number of times the application was launched since last report. |
| -const char kStabilityLaunchCount[] = |
| - "user_experience_metrics.stability.launch_count"; |
| - |
| -// Time when the app was last launched, in seconds since the epoch. |
| -const char kStabilityLaunchTimeSec[] = |
| - "user_experience_metrics.stability.launch_time_sec"; |
| - |
| -// Number of times a page load event occurred since the last report. |
| -const char kStabilityPageLoadCount[] = |
| - "user_experience_metrics.stability.page_load_count"; |
| - |
| -// Number of times a renderer process crashed since the last report. |
| -const char kStabilityRendererCrashCount[] = |
| - "user_experience_metrics.stability.renderer_crash_count"; |
| - |
| -// Number of times a renderer process failed to launch since the last report. |
| -const char kStabilityRendererFailedLaunchCount[] = |
| - "user_experience_metrics.stability.renderer_failed_launch_count"; |
| - |
| -// Number of times the renderer has become non-responsive since the last |
| -// report. |
| -const char kStabilityRendererHangCount[] = |
| - "user_experience_metrics.stability.renderer_hang_count"; |
| - |
| -// Number of times a renderer process successfully launched since the last |
| -// report. |
| -const char kStabilityRendererLaunchCount[] = |
| - "user_experience_metrics.stability.renderer_launch_count"; |
| - |
| -// Base64 encoded serialized UMA system profile proto from the previous session. |
| -const char kStabilitySavedSystemProfile[] = |
| - "user_experience_metrics.stability.saved_system_profile"; |
| - |
| -// SHA-1 hash of the serialized UMA system profile proto (hex encoded). |
| -const char kStabilitySavedSystemProfileHash[] = |
| - "user_experience_metrics.stability.saved_system_profile_hash"; |
| - |
| -// False if we received a session end and either we crashed during processing |
| -// the session end or ran out of time and windows terminated us. |
| -const char kStabilitySessionEndCompleted[] = |
| - "user_experience_metrics.stability.session_end_completed"; |
| - |
| -// Build time, in seconds since an epoch, which is used to assure that stability |
| -// metrics reported reflect stability of the same build. |
| -const char kStabilityStatsBuildTime[] = |
| - "user_experience_metrics.stability.stats_buildtime"; |
| - |
| -// Version string of previous run, which is used to assure that stability |
| -// metrics reported under current version reflect stability of the same version. |
| -const char kStabilityStatsVersion[] = |
| - "user_experience_metrics.stability.stats_version"; |
| - |
| -// Number of times the version number stored in prefs did not match the |
| -// serialized system profile version number. |
| -const char kStabilityVersionMismatchCount[] = |
| - "user_experience_metrics.stability.version_mismatch_count"; |
| - |
| // The keys below are strictly increasing counters over the lifetime of |
| // a chrome installation. They are (optionally) sent up to the uninstall |
| // survey in the event of uninstallation. |