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 |
11 // machine. Attached to metrics reports forever thereafter. | 11 // machine. Attached to metrics reports forever thereafter. |
12 const char kInstallDate[] = "uninstall_metrics.installation_date2"; | 12 const char kInstallDate[] = "uninstall_metrics.installation_date2"; |
13 | 13 |
14 // The metrics client GUID. | 14 // The metrics client GUID. |
15 // Note: The name client_id2 is a result of creating | 15 // Note: The name client_id2 is a result of creating |
16 // 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. |
17 const char kMetricsClientID[] = "user_experience_metrics.client_id2"; | 17 const char kMetricsClientID[] = "user_experience_metrics.client_id2"; |
18 | 18 |
| 19 // An enum value indicating the default value of the enable metrics reporting |
| 20 // checkbox shown during first-run. If it's opt-in, then the checkbox defaulted |
| 21 // to unchecked, if it's opt-out, then it defaulted to checked. This value is |
| 22 // only recorded during first-run, so older clients will not set it. The enum |
| 23 // used for the value is metrics::MetricsServiceClient::EnableMetricsDefault. |
| 24 const char kMetricsDefaultOptIn[] = "user_experience_metrics.default_opt_in"; |
| 25 |
19 // Array of strings that are each UMA logs that were supposed to be sent in the | 26 // Array of strings that are each UMA logs that were supposed to be sent in the |
20 // first minute of a browser session. These logs include things like crash count | 27 // first minute of a browser session. These logs include things like crash count |
21 // info, etc. | 28 // info, etc. |
22 const char kMetricsInitialLogs[] = | 29 const char kMetricsInitialLogs[] = |
23 "user_experience_metrics.initial_logs_list"; | 30 "user_experience_metrics.initial_logs_list"; |
24 | 31 |
25 // The metrics entropy source. | 32 // The metrics entropy source. |
26 // Note: The name low_entropy_source2 is a result of creating | 33 // Note: The name low_entropy_source2 is a result of creating |
27 // new prefs to do a one-time reset of the previous values. | 34 // new prefs to do a one-time reset of the previous values. |
28 const char kMetricsLowEntropySource[] = | 35 const char kMetricsLowEntropySource[] = |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 // Dictionary for measuring cellular data used by UMA service during last 7 | 179 // Dictionary for measuring cellular data used by UMA service during last 7 |
173 // days. | 180 // days. |
174 const char kUmaCellDataUse[] = "user_experience_metrics.uma_cell_datause"; | 181 const char kUmaCellDataUse[] = "user_experience_metrics.uma_cell_datause"; |
175 | 182 |
176 // Dictionary for measuring cellular data used by user including chrome services | 183 // Dictionary for measuring cellular data used by user including chrome services |
177 // per day. | 184 // per day. |
178 const char kUserCellDataUse[] = "user_experience_metrics.user_call_datause"; | 185 const char kUserCellDataUse[] = "user_experience_metrics.user_call_datause"; |
179 | 186 |
180 } // namespace prefs | 187 } // namespace prefs |
181 } // namespace metrics | 188 } // namespace metrics |
OLD | NEW |