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 last-seen timestamp of setup metrics file. | |
grt (UTC plus 2)
2016/02/15 15:42:40
should this be something like
// The prefix of the
bcwhite
2016/02/15 19:22:11
Done.
| |
60 const char kMetricsLastSeenPrefix[] = | |
61 "user_experience_metrics.last_seen."; | |
62 | |
59 // Number of times the browser has been able to register crash reporting. | 63 // Number of times the browser has been able to register crash reporting. |
60 const char kStabilityBreakpadRegistrationSuccess[] = | 64 const char kStabilityBreakpadRegistrationSuccess[] = |
61 "user_experience_metrics.stability.breakpad_registration_ok"; | 65 "user_experience_metrics.stability.breakpad_registration_ok"; |
62 | 66 |
63 // Number of times the browser has failed to register crash reporting. | 67 // Number of times the browser has failed to register crash reporting. |
64 const char kStabilityBreakpadRegistrationFail[] = | 68 const char kStabilityBreakpadRegistrationFail[] = |
65 "user_experience_metrics.stability.breakpad_registration_fail"; | 69 "user_experience_metrics.stability.breakpad_registration_fail"; |
66 | 70 |
67 // Total number of child process crashes (other than renderer / extension | 71 // Total number of child process crashes (other than renderer / extension |
68 // renderer ones, and plugin children, which are counted separately) since the | 72 // 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 | 163 // The keys below are strictly increasing counters over the lifetime of |
160 // a chrome installation. They are (optionally) sent up to the uninstall | 164 // a chrome installation. They are (optionally) sent up to the uninstall |
161 // survey in the event of uninstallation. | 165 // survey in the event of uninstallation. |
162 const char kUninstallLaunchCount[] = "uninstall_metrics.launch_count"; | 166 const char kUninstallLaunchCount[] = "uninstall_metrics.launch_count"; |
163 const char kUninstallMetricsPageLoadCount[] = | 167 const char kUninstallMetricsPageLoadCount[] = |
164 "uninstall_metrics.page_load_count"; | 168 "uninstall_metrics.page_load_count"; |
165 const char kUninstallMetricsUptimeSec[] = "uninstall_metrics.uptime_sec"; | 169 const char kUninstallMetricsUptimeSec[] = "uninstall_metrics.uptime_sec"; |
166 | 170 |
167 } // namespace prefs | 171 } // namespace prefs |
168 } // namespace metrics | 172 } // namespace metrics |
OLD | NEW |