| 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 kMetricsDefaultOptIn[]; |
| 15 extern const char kMetricsInitialLogs[]; | 16 extern const char kMetricsInitialLogs[]; |
| 16 extern const char kMetricsLowEntropySource[]; | 17 extern const char kMetricsLowEntropySource[]; |
| 17 extern const char kMetricsMachineId[]; | 18 extern const char kMetricsMachineId[]; |
| 18 extern const char kMetricsOngoingLogs[]; | 19 extern const char kMetricsOngoingLogs[]; |
| 19 extern const char kMetricsResetIds[]; | 20 extern const char kMetricsResetIds[]; |
| 20 | 21 |
| 21 // For finding out whether metrics and crash reporting is enabled use the | 22 // For finding out whether metrics and crash reporting is enabled use the |
| 22 // relevant embedder-specific subclass of MetricsServiceAccessor instead of | 23 // relevant embedder-specific subclass of MetricsServiceAccessor instead of |
| 23 // reading this pref directly; see the comments on metrics_service_accessor.h. | 24 // reading this pref directly; see the comments on metrics_service_accessor.h. |
| 24 // (NOTE: If within //chrome, use | 25 // (NOTE: If within //chrome, use |
| (...skipping 30 matching lines...) Expand all Loading... |
| 55 extern const char kUninstallMetricsUptimeSec[]; | 56 extern const char kUninstallMetricsUptimeSec[]; |
| 56 | 57 |
| 57 // For measuring data use for throttling UMA log uploads on cellular. | 58 // For measuring data use for throttling UMA log uploads on cellular. |
| 58 extern const char kUmaCellDataUse[]; | 59 extern const char kUmaCellDataUse[]; |
| 59 extern const char kUserCellDataUse[]; | 60 extern const char kUserCellDataUse[]; |
| 60 | 61 |
| 61 } // namespace prefs | 62 } // namespace prefs |
| 62 } // namespace metrics | 63 } // namespace metrics |
| 63 | 64 |
| 64 #endif // COMPONENTS_METRICS_METRICS_PREF_NAMES_H_ | 65 #endif // COMPONENTS_METRICS_METRICS_PREF_NAMES_H_ |
| OLD | NEW |