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 |
| 11 // machine. Attached to metrics reports forever thereafter. |
| 12 const char kInstallDate[] = "uninstall_metrics.installation_date2"; |
| 13 |
10 // The metrics client GUID. | 14 // The metrics client GUID. |
11 // Note: The name client_id2 is a result of creating | 15 // Note: The name client_id2 is a result of creating |
12 // 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. |
13 const char kMetricsClientID[] = "user_experience_metrics.client_id2"; | 17 const char kMetricsClientID[] = "user_experience_metrics.client_id2"; |
14 | 18 |
15 // Array of strings that are each UMA logs that were supposed to be sent in the | 19 // Array of strings that are each UMA logs that were supposed to be sent in the |
16 // first minute of a browser session. These logs include things like crash count | 20 // first minute of a browser session. These logs include things like crash count |
17 // info, etc. | 21 // info, etc. |
18 const char kMetricsInitialLogs[] = | 22 const char kMetricsInitialLogs[] = |
19 "user_experience_metrics.initial_logs_list"; | 23 "user_experience_metrics.initial_logs_list"; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 "user_experience_metrics.stability.stats_version"; | 132 "user_experience_metrics.stability.stats_version"; |
129 | 133 |
130 // The keys below are strictly increasing counters over the lifetime of | 134 // The keys below are strictly increasing counters over the lifetime of |
131 // a chrome installation. They are (optionally) sent up to the uninstall | 135 // a chrome installation. They are (optionally) sent up to the uninstall |
132 // survey in the event of uninstallation. | 136 // survey in the event of uninstallation. |
133 const char kUninstallLaunchCount[] = "uninstall_metrics.launch_count"; | 137 const char kUninstallLaunchCount[] = "uninstall_metrics.launch_count"; |
134 const char kUninstallMetricsUptimeSec[] = "uninstall_metrics.uptime_sec"; | 138 const char kUninstallMetricsUptimeSec[] = "uninstall_metrics.uptime_sec"; |
135 | 139 |
136 } // namespace prefs | 140 } // namespace prefs |
137 } // namespace metrics | 141 } // namespace metrics |
OLD | NEW |