| 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 #include "components/metrics/metrics_pref_names.h" | 5 #include "components/metrics/metrics_pref_names.h" |
| 6 | 6 |
| 7 namespace metrics { | 7 namespace metrics { |
| 8 namespace prefs { | 8 namespace prefs { |
| 9 | 9 |
| 10 // Set once, to the current epoch time, on the first run of chrome on this | 10 // Set once, to the current epoch time, on the first run of chrome on this |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 // Boolean that indicates a cloned install has been detected and the metrics | 49 // Boolean that indicates a cloned install has been detected and the metrics |
| 50 // client id and low entropy source should be reset. | 50 // client id and low entropy source should be reset. |
| 51 const char kMetricsResetIds[] = "user_experience_metrics.reset_metrics_ids"; | 51 const char kMetricsResetIds[] = "user_experience_metrics.reset_metrics_ids"; |
| 52 | 52 |
| 53 // Boolean that specifies whether or not crash reporting and metrics reporting | 53 // Boolean that specifies whether or not crash reporting and metrics reporting |
| 54 // are sent over the network for analysis. | 54 // are sent over the network for analysis. |
| 55 const char kMetricsReportingEnabled[] = | 55 const char kMetricsReportingEnabled[] = |
| 56 "user_experience_metrics.reporting_enabled"; | 56 "user_experience_metrics.reporting_enabled"; |
| 57 | 57 |
| 58 // Date/time when the user opted in to UMA and generated the client id for the | 58 // Date/time when the user opted in to UMA and generated the client id most |
| 59 // very first time (local machine time, stored as a 64-bit time_t value). | 59 // recently (local machine time, stored as a 64-bit time_t value). |
| 60 const char kMetricsReportingEnabledTimestamp[] = | 60 const char kMetricsReportingEnabledTimestamp[] = |
| 61 "user_experience_metrics.client_id_timestamp"; | 61 "user_experience_metrics.client_id_timestamp"; |
| 62 | 62 |
| 63 // The metrics client session ID. | 63 // The metrics client session ID. |
| 64 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; | 64 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; |
| 65 | 65 |
| 66 // The prefix of the last-seen timestamp for persistent histogram files. | 66 // The prefix of the last-seen timestamp for persistent histogram files. |
| 67 // Values are named for the files themselves. | 67 // Values are named for the files themselves. |
| 68 const char kMetricsLastSeenPrefix[] = | 68 const char kMetricsLastSeenPrefix[] = |
| 69 "user_experience_metrics.last_seen."; | 69 "user_experience_metrics.last_seen."; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 // Dictionary for measuring cellular data used by UMA service during last 7 | 189 // Dictionary for measuring cellular data used by UMA service during last 7 |
| 190 // days. | 190 // days. |
| 191 const char kUmaCellDataUse[] = "user_experience_metrics.uma_cell_datause"; | 191 const char kUmaCellDataUse[] = "user_experience_metrics.uma_cell_datause"; |
| 192 | 192 |
| 193 // Dictionary for measuring cellular data used by user including chrome services | 193 // Dictionary for measuring cellular data used by user including chrome services |
| 194 // per day. | 194 // per day. |
| 195 const char kUserCellDataUse[] = "user_experience_metrics.user_call_datause"; | 195 const char kUserCellDataUse[] = "user_experience_metrics.user_call_datause"; |
| 196 | 196 |
| 197 } // namespace prefs | 197 } // namespace prefs |
| 198 } // namespace metrics | 198 } // namespace metrics |
| OLD | NEW |