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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 "user_experience_metrics.reporting_enabled"; | 49 "user_experience_metrics.reporting_enabled"; |
50 | 50 |
51 // Date/time when the user opted in to UMA and generated the client id for the | 51 // Date/time when the user opted in to UMA and generated the client id for the |
52 // very first time (local machine time, stored as a 64-bit time_t value). | 52 // very first time (local machine time, stored as a 64-bit time_t value). |
53 const char kMetricsReportingEnabledTimestamp[] = | 53 const char kMetricsReportingEnabledTimestamp[] = |
54 "user_experience_metrics.client_id_timestamp"; | 54 "user_experience_metrics.client_id_timestamp"; |
55 | 55 |
56 // The metrics client session ID. | 56 // The metrics client session ID. |
57 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; | 57 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; |
58 | 58 |
| 59 // The prefix of the last-seen timestamp for persistent histogram files. |
| 60 // Values are named for the files themselves. |
| 61 const char kMetricsLastSeenPrefix[] = |
| 62 "user_experience_metrics.last_seen."; |
| 63 |
59 // Number of times the browser has been able to register crash reporting. | 64 // Number of times the browser has been able to register crash reporting. |
60 const char kStabilityBreakpadRegistrationSuccess[] = | 65 const char kStabilityBreakpadRegistrationSuccess[] = |
61 "user_experience_metrics.stability.breakpad_registration_ok"; | 66 "user_experience_metrics.stability.breakpad_registration_ok"; |
62 | 67 |
63 // Number of times the browser has failed to register crash reporting. | 68 // Number of times the browser has failed to register crash reporting. |
64 const char kStabilityBreakpadRegistrationFail[] = | 69 const char kStabilityBreakpadRegistrationFail[] = |
65 "user_experience_metrics.stability.breakpad_registration_fail"; | 70 "user_experience_metrics.stability.breakpad_registration_fail"; |
66 | 71 |
67 // Total number of child process crashes (other than renderer / extension | 72 // Total number of child process crashes (other than renderer / extension |
68 // renderer ones, and plugin children, which are counted separately) since the | 73 // renderer ones, and plugin children, which are counted separately) since the |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // The keys below are strictly increasing counters over the lifetime of | 164 // The keys below are strictly increasing counters over the lifetime of |
160 // a chrome installation. They are (optionally) sent up to the uninstall | 165 // a chrome installation. They are (optionally) sent up to the uninstall |
161 // survey in the event of uninstallation. | 166 // survey in the event of uninstallation. |
162 const char kUninstallLaunchCount[] = "uninstall_metrics.launch_count"; | 167 const char kUninstallLaunchCount[] = "uninstall_metrics.launch_count"; |
163 const char kUninstallMetricsPageLoadCount[] = | 168 const char kUninstallMetricsPageLoadCount[] = |
164 "uninstall_metrics.page_load_count"; | 169 "uninstall_metrics.page_load_count"; |
165 const char kUninstallMetricsUptimeSec[] = "uninstall_metrics.uptime_sec"; | 170 const char kUninstallMetricsUptimeSec[] = "uninstall_metrics.uptime_sec"; |
166 | 171 |
167 } // namespace prefs | 172 } // namespace prefs |
168 } // namespace metrics | 173 } // namespace metrics |
OLD | NEW |