| 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 // Array of strings that are each UMA logs that were supposed to be sent in the | |
| 11 // first minute of a browser session. These logs include things like crash count | |
| 12 // info, etc. | |
| 13 // Deprecated by kMetricsInitialLogs. | |
| 14 const char kDeprecatedMetricsInitialLogs[] = | |
| 15 "user_experience_metrics.initial_logs_list"; | |
| 16 | |
| 17 // Array of strings that are each UMA logs that were not sent because the | |
| 18 // browser terminated before these accumulated metrics could be sent. These | |
| 19 // logs typically include histograms and memory reports, as well as ongoing | |
| 20 // user activities. | |
| 21 // Deprecated by kMetricsOngoingLogs. | |
| 22 const char kDeprecatedMetricsOngoingLogs[] = | |
| 23 "user_experience_metrics.ongoing_logs_list"; | |
| 24 | |
| 25 // 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 |
| 26 // machine. Attached to metrics reports forever thereafter. | 11 // machine. Attached to metrics reports forever thereafter. |
| 27 const char kInstallDate[] = "uninstall_metrics.installation_date2"; | 12 const char kInstallDate[] = "uninstall_metrics.installation_date2"; |
| 28 | 13 |
| 29 // The metrics client GUID. | 14 // The metrics client GUID. |
| 30 // Note: The name client_id2 is a result of creating | 15 // Note: The name client_id2 is a result of creating |
| 31 // new prefs to do a one-time reset of the previous values. | 16 // new prefs to do a one-time reset of the previous values. |
| 32 const char kMetricsClientID[] = "user_experience_metrics.client_id2"; | 17 const char kMetricsClientID[] = "user_experience_metrics.client_id2"; |
| 33 | 18 |
| 34 // An enum value indicating the default value of the enable metrics reporting | 19 // An enum value indicating the default value of the enable metrics reporting |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 // Dictionary for measuring cellular data used by UMA service during last 7 | 202 // Dictionary for measuring cellular data used by UMA service during last 7 |
| 218 // days. | 203 // days. |
| 219 const char kUmaCellDataUse[] = "user_experience_metrics.uma_cell_datause"; | 204 const char kUmaCellDataUse[] = "user_experience_metrics.uma_cell_datause"; |
| 220 | 205 |
| 221 // Dictionary for measuring cellular data used by user including chrome services | 206 // Dictionary for measuring cellular data used by user including chrome services |
| 222 // per day. | 207 // per day. |
| 223 const char kUserCellDataUse[] = "user_experience_metrics.user_call_datause"; | 208 const char kUserCellDataUse[] = "user_experience_metrics.user_call_datause"; |
| 224 | 209 |
| 225 } // namespace prefs | 210 } // namespace prefs |
| 226 } // namespace metrics | 211 } // namespace metrics |
| OLD | NEW |