| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_METRICS_METRICS_PREF_NAMES_H_ | 5 #ifndef COMPONENTS_METRICS_METRICS_PREF_NAMES_H_ |
| 6 #define COMPONENTS_METRICS_METRICS_PREF_NAMES_H_ | 6 #define COMPONENTS_METRICS_METRICS_PREF_NAMES_H_ |
| 7 | 7 |
| 8 namespace metrics { | 8 namespace metrics { |
| 9 namespace prefs { | 9 namespace prefs { |
| 10 | 10 |
| 11 // Alphabetical list of preference names specific to the metrics | 11 // Alphabetical list of preference names specific to the metrics |
| 12 // component. Document each in the .cc file. | 12 // component. Document each in the .cc file. |
| 13 extern const char kInstallDate[]; | 13 extern const char kInstallDate[]; |
| 14 extern const char kMetricsClientID[]; | 14 extern const char kMetricsClientID[]; |
| 15 extern const char kMetricsInitialLogs[]; | 15 extern const char kMetricsInitialLogs[]; |
| 16 extern const char kMetricsLowEntropySource[]; | 16 extern const char kMetricsLowEntropySource[]; |
| 17 extern const char kMetricsMachineId[]; | 17 extern const char kMetricsMachineId[]; |
| 18 extern const char kMetricsOngoingLogs[]; | 18 extern const char kMetricsOngoingLogs[]; |
| 19 extern const char kMetricsResetIds[]; | 19 extern const char kMetricsResetIds[]; |
| 20 | 20 |
| 21 // For finding out whether metrics and crash reporting is enabled use the | 21 // For finding out whether metrics and crash reporting is enabled use the |
| 22 // relevant embedder-specific subclass of MetricsServiceAccessor instead of | 22 // relevant embedder-specific subclass of MetricsServiceAccessor instead of |
| 23 // reading this pref directly; see the comments on metrics_service_accessor.h. | 23 // reading this pref directly; see the comments on metrics_service_accessor.h. |
| 24 // (NOTE: If within //chrome, use | 24 // (NOTE: If within //chrome, use |
| 25 // ChromeMetricsServiceAccessor::IsMetricsAndCrashReportingEnabled()). | 25 // ChromeMetricsServiceAccessor::IsMetricsAndCrashReportingEnabled()). |
| 26 extern const char kMetricsReportingEnabled[]; | 26 extern const char kMetricsReportingEnabled[]; |
| 27 extern const char kMetricsReportingEnabledTimestamp[]; | 27 extern const char kMetricsReportingEnabledTimestamp[]; |
| 28 extern const char kMetricsSessionID[]; | 28 extern const char kMetricsSessionID[]; |
| 29 extern const char kMetricsLastSeenPrefix[]; |
| 29 extern const char kStabilityBreakpadRegistrationSuccess[]; | 30 extern const char kStabilityBreakpadRegistrationSuccess[]; |
| 30 extern const char kStabilityBreakpadRegistrationFail[]; | 31 extern const char kStabilityBreakpadRegistrationFail[]; |
| 31 extern const char kStabilityChildProcessCrashCount[]; | 32 extern const char kStabilityChildProcessCrashCount[]; |
| 32 extern const char kStabilityCrashCount[]; | 33 extern const char kStabilityCrashCount[]; |
| 33 extern const char kStabilityDebuggerPresent[]; | 34 extern const char kStabilityDebuggerPresent[]; |
| 34 extern const char kStabilityDebuggerNotPresent[]; | 35 extern const char kStabilityDebuggerNotPresent[]; |
| 35 extern const char kStabilityExecutionPhase[]; | 36 extern const char kStabilityExecutionPhase[]; |
| 36 extern const char kStabilityExtensionRendererCrashCount[]; | 37 extern const char kStabilityExtensionRendererCrashCount[]; |
| 37 extern const char kStabilityExtensionRendererFailedLaunchCount[]; | 38 extern const char kStabilityExtensionRendererFailedLaunchCount[]; |
| 38 extern const char kStabilityExitedCleanly[]; | 39 extern const char kStabilityExitedCleanly[]; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 49 extern const char kStabilitySessionEndCompleted[]; | 50 extern const char kStabilitySessionEndCompleted[]; |
| 50 extern const char kStabilityStatsBuildTime[]; | 51 extern const char kStabilityStatsBuildTime[]; |
| 51 extern const char kStabilityStatsVersion[]; | 52 extern const char kStabilityStatsVersion[]; |
| 52 extern const char kUninstallLaunchCount[]; | 53 extern const char kUninstallLaunchCount[]; |
| 53 extern const char kUninstallMetricsPageLoadCount[]; | 54 extern const char kUninstallMetricsPageLoadCount[]; |
| 54 extern const char kUninstallMetricsUptimeSec[]; | 55 extern const char kUninstallMetricsUptimeSec[]; |
| 55 } // namespace prefs | 56 } // namespace prefs |
| 56 } // namespace metrics | 57 } // namespace metrics |
| 57 | 58 |
| 58 #endif // COMPONENTS_METRICS_METRICS_PREF_NAMES_H_ | 59 #endif // COMPONENTS_METRICS_METRICS_PREF_NAMES_H_ |
| OLD | NEW |