OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
957 const char kMetricsClientIDTimestamp[] = | 957 const char kMetricsClientIDTimestamp[] = |
958 "user_experience_metrics.client_id_timestamp"; | 958 "user_experience_metrics.client_id_timestamp"; |
959 | 959 |
960 // Boolean that specifies whether or not crash reporting and metrics reporting | 960 // Boolean that specifies whether or not crash reporting and metrics reporting |
961 // are sent over the network for analysis. | 961 // are sent over the network for analysis. |
962 const char kMetricsReportingEnabled[] = | 962 const char kMetricsReportingEnabled[] = |
963 "user_experience_metrics.reporting_enabled"; | 963 "user_experience_metrics.reporting_enabled"; |
964 | 964 |
965 // Array of strings that are each UMA logs that were supposed to be sent in the | 965 // Array of strings that are each UMA logs that were supposed to be sent in the |
966 // first minute of a browser session. These logs include things like crash count | 966 // first minute of a browser session. These logs include things like crash count |
967 // info, etc. | 967 // info, etc. Currently we store both XML and protobuf versions of these logs. |
968 const char kMetricsInitialLogs[] = | 968 const char kMetricsInitialLogsXml[] = |
969 "user_experience_metrics.initial_logs"; | 969 "user_experience_metrics.initial_logs"; |
| 970 const char kMetricsInitialLogsProto[] = |
| 971 "user_experience_metrics.initial_logs_as_protobufs"; |
970 | 972 |
971 // Array of strings that are each UMA logs that were not sent because the | 973 // Array of strings that are each UMA logs that were not sent because the |
972 // browser terminated before these accumulated metrics could be sent. These | 974 // browser terminated before these accumulated metrics could be sent. These |
973 // logs typically include histograms and memory reports, as well as ongoing | 975 // logs typically include histograms and memory reports, as well as ongoing |
974 // user activities. | 976 // user activities. Currently we store both XML and protobuf versions. |
975 const char kMetricsOngoingLogs[] = | 977 const char kMetricsOngoingLogsXml[] = |
976 "user_experience_metrics.ongoing_logs"; | 978 "user_experience_metrics.ongoing_logs"; |
| 979 const char kMetricsOngoingLogsProto[] = |
| 980 "user_experience_metrics.ongoing_logs_as_protobufs"; |
977 | 981 |
978 // Where profile specific metrics are placed. | 982 // Where profile specific metrics are placed. |
979 const char kProfileMetrics[] = "user_experience_metrics.profiles"; | 983 const char kProfileMetrics[] = "user_experience_metrics.profiles"; |
980 | 984 |
981 // The metrics for a profile are stored as dictionary values under the | 985 // The metrics for a profile are stored as dictionary values under the |
982 // path kProfileMetrics. The individual metrics are placed under the path | 986 // path kProfileMetrics. The individual metrics are placed under the path |
983 // kProfileMetrics.kProfilePrefix<hashed-profile-id>. | 987 // kProfileMetrics.kProfilePrefix<hashed-profile-id>. |
984 const char kProfilePrefix[] = "profile-"; | 988 const char kProfilePrefix[] = "profile-"; |
985 | 989 |
986 // True if the previous run of the program exited cleanly. | 990 // True if the previous run of the program exited cleanly. |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1725 | 1729 |
1726 // String that represents the recovery component last downloaded version. This | 1730 // String that represents the recovery component last downloaded version. This |
1727 // takes the usual 'a.b.c.d' notation. | 1731 // takes the usual 'a.b.c.d' notation. |
1728 const char kRecoveryComponentVersion[] = "recovery_component.version"; | 1732 const char kRecoveryComponentVersion[] = "recovery_component.version"; |
1729 | 1733 |
1730 // String that stores the component updater last known state. This is used for | 1734 // String that stores the component updater last known state. This is used for |
1731 // troubleshooting. | 1735 // troubleshooting. |
1732 const char kComponentUpdaterState[] = "component_updater.state"; | 1736 const char kComponentUpdaterState[] = "component_updater.state"; |
1733 | 1737 |
1734 } // namespace prefs | 1738 } // namespace prefs |
OLD | NEW |