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

Side by Side Diff: components/metrics/metrics_pref_names.h

Issue 2687393004: Gather stability prefs into managing objects. (Closed)
Patch Set: Incorporate Feedback Created 3 years, 10 months 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 unified diff | Download patch
« no previous file with comments | « components/metrics/metrics_log_unittest.cc ('k') | components/metrics/metrics_pref_names.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 12 matching lines...) Expand all
23 23
24 // For finding out whether metrics and crash reporting is enabled use the 24 // For finding out whether metrics and crash reporting is enabled use the
25 // relevant embedder-specific subclass of MetricsServiceAccessor instead of 25 // relevant embedder-specific subclass of MetricsServiceAccessor instead of
26 // reading this pref directly; see the comments on metrics_service_accessor.h. 26 // reading this pref directly; see the comments on metrics_service_accessor.h.
27 // (NOTE: If within //chrome, use 27 // (NOTE: If within //chrome, use
28 // ChromeMetricsServiceAccessor::IsMetricsAndCrashReportingEnabled()). 28 // ChromeMetricsServiceAccessor::IsMetricsAndCrashReportingEnabled()).
29 extern const char kMetricsReportingEnabled[]; 29 extern const char kMetricsReportingEnabled[];
30 extern const char kMetricsReportingEnabledTimestamp[]; 30 extern const char kMetricsReportingEnabledTimestamp[];
31 extern const char kMetricsSessionID[]; 31 extern const char kMetricsSessionID[];
32 extern const char kMetricsLastSeenPrefix[]; 32 extern const char kMetricsLastSeenPrefix[];
33
34 // Preferences for recording stability logs.
33 extern const char kStabilityBreakpadRegistrationSuccess[]; 35 extern const char kStabilityBreakpadRegistrationSuccess[];
34 extern const char kStabilityBreakpadRegistrationFail[]; 36 extern const char kStabilityBreakpadRegistrationFail[];
35 extern const char kStabilityChildProcessCrashCount[]; 37 extern const char kStabilityChildProcessCrashCount[];
36 extern const char kStabilityCrashCount[]; 38 extern const char kStabilityCrashCount[];
37 extern const char kStabilityDebuggerPresent[]; 39 extern const char kStabilityDebuggerPresent[];
38 extern const char kStabilityDebuggerNotPresent[]; 40 extern const char kStabilityDebuggerNotPresent[];
39 extern const char kStabilityDeferredCount[]; 41 extern const char kStabilityDeferredCount[];
40 extern const char kStabilityDiscardCount[]; 42 extern const char kStabilityDiscardCount[];
41 extern const char kStabilityExecutionPhase[]; 43 extern const char kStabilityExecutionPhase[];
42 extern const char kStabilityExtensionRendererCrashCount[]; 44 extern const char kStabilityExtensionRendererCrashCount[];
43 extern const char kStabilityExtensionRendererFailedLaunchCount[]; 45 extern const char kStabilityExtensionRendererFailedLaunchCount[];
44 extern const char kStabilityExtensionRendererLaunchCount[]; 46 extern const char kStabilityExtensionRendererLaunchCount[];
45 extern const char kStabilityExitedCleanly[]; 47 extern const char kStabilityExitedCleanly[];
46 extern const char kStabilityIncompleteSessionEndCount[]; 48 extern const char kStabilityIncompleteSessionEndCount[];
47 extern const char kStabilityLastTimestampSec[];
48 extern const char kStabilityLaunchCount[]; 49 extern const char kStabilityLaunchCount[];
49 extern const char kStabilityLaunchTimeSec[];
50 extern const char kStabilityPageLoadCount[]; 50 extern const char kStabilityPageLoadCount[];
51 extern const char kStabilityRendererCrashCount[]; 51 extern const char kStabilityRendererCrashCount[];
52 extern const char kStabilityRendererFailedLaunchCount[]; 52 extern const char kStabilityRendererFailedLaunchCount[];
53 extern const char kStabilityRendererHangCount[]; 53 extern const char kStabilityRendererHangCount[];
54 extern const char kStabilityRendererLaunchCount[]; 54 extern const char kStabilityRendererLaunchCount[];
55 extern const char kStabilitySavedSystemProfile[]; 55 extern const char kStabilitySavedSystemProfile[];
56 extern const char kStabilitySavedSystemProfileHash[]; 56 extern const char kStabilitySavedSystemProfileHash[];
57 extern const char kStabilitySessionEndCompleted[]; 57 extern const char kStabilitySessionEndCompleted[];
58 extern const char kStabilityStatsBuildTime[]; 58 extern const char kStabilityStatsBuildTime[];
59 extern const char kStabilityStatsVersion[]; 59 extern const char kStabilityStatsVersion[];
60 extern const char kStabilityVersionMismatchCount[]; 60 extern const char kStabilityVersionMismatchCount[];
61
62 // Preferences for generating metrics at uninstall time.
61 extern const char kUninstallLaunchCount[]; 63 extern const char kUninstallLaunchCount[];
62 extern const char kUninstallMetricsPageLoadCount[]; 64 extern const char kUninstallMetricsPageLoadCount[];
63 extern const char kUninstallMetricsUptimeSec[]; 65 extern const char kUninstallMetricsUptimeSec[];
64 66
65 // For measuring data use for throttling UMA log uploads on cellular. 67 // For measuring data use for throttling UMA log uploads on cellular.
66 extern const char kUmaCellDataUse[]; 68 extern const char kUmaCellDataUse[];
67 extern const char kUserCellDataUse[]; 69 extern const char kUserCellDataUse[];
68 70
69 } // namespace prefs 71 } // namespace prefs
70 } // namespace metrics 72 } // namespace metrics
71 73
72 #endif // COMPONENTS_METRICS_METRICS_PREF_NAMES_H_ 74 #endif // COMPONENTS_METRICS_METRICS_PREF_NAMES_H_
OLDNEW
« no previous file with comments | « components/metrics/metrics_log_unittest.cc ('k') | components/metrics/metrics_pref_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698