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 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 const char kMetricsClientIDTimestamp[] = | 969 const char kMetricsClientIDTimestamp[] = |
970 "user_experience_metrics.client_id_timestamp"; | 970 "user_experience_metrics.client_id_timestamp"; |
971 | 971 |
972 // Boolean that specifies whether or not crash reporting and metrics reporting | 972 // Boolean that specifies whether or not crash reporting and metrics reporting |
973 // are sent over the network for analysis. | 973 // are sent over the network for analysis. |
974 const char kMetricsReportingEnabled[] = | 974 const char kMetricsReportingEnabled[] = |
975 "user_experience_metrics.reporting_enabled"; | 975 "user_experience_metrics.reporting_enabled"; |
976 | 976 |
977 // Array of strings that are each UMA logs that were supposed to be sent in the | 977 // Array of strings that are each UMA logs that were supposed to be sent in the |
978 // first minute of a browser session. These logs include things like crash count | 978 // first minute of a browser session. These logs include things like crash count |
979 // info, etc. | 979 // info, etc. Currently we store both XML and protobuf versions of these logs. |
980 const char kMetricsInitialLogs[] = | 980 const char kMetricsInitialLogsXml[] = |
981 "user_experience_metrics.initial_logs"; | 981 "user_experience_metrics.initial_logs"; |
| 982 const char kMetricsInitialLogsProto[] = |
| 983 "user_experience_metrics.initial_logs_as_protobufs"; |
982 | 984 |
983 // Array of strings that are each UMA logs that were not sent because the | 985 // Array of strings that are each UMA logs that were not sent because the |
984 // browser terminated before these accumulated metrics could be sent. These | 986 // browser terminated before these accumulated metrics could be sent. These |
985 // logs typically include histograms and memory reports, as well as ongoing | 987 // logs typically include histograms and memory reports, as well as ongoing |
986 // user activities. | 988 // user activities. Currently we store both XML and protobuf versions. |
987 const char kMetricsOngoingLogs[] = | 989 const char kMetricsOngoingLogsXml[] = |
988 "user_experience_metrics.ongoing_logs"; | 990 "user_experience_metrics.ongoing_logs"; |
| 991 const char kMetricsOngoingLogsProto[] = |
| 992 "user_experience_metrics.ongoing_logs_as_protobufs"; |
989 | 993 |
990 // Where profile specific metrics are placed. | 994 // Where profile specific metrics are placed. |
991 const char kProfileMetrics[] = "user_experience_metrics.profiles"; | 995 const char kProfileMetrics[] = "user_experience_metrics.profiles"; |
992 | 996 |
993 // The metrics for a profile are stored as dictionary values under the | 997 // The metrics for a profile are stored as dictionary values under the |
994 // path kProfileMetrics. The individual metrics are placed under the path | 998 // path kProfileMetrics. The individual metrics are placed under the path |
995 // kProfileMetrics.kProfilePrefix<hashed-profile-id>. | 999 // kProfileMetrics.kProfilePrefix<hashed-profile-id>. |
996 const char kProfilePrefix[] = "profile-"; | 1000 const char kProfilePrefix[] = "profile-"; |
997 | 1001 |
998 // True if the previous run of the program exited cleanly. | 1002 // True if the previous run of the program exited cleanly. |
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1755 const char kComponentUpdaterState[] = "component_updater.state"; | 1759 const char kComponentUpdaterState[] = "component_updater.state"; |
1756 | 1760 |
1757 // Boolean pref indicating whether the session restore dialog has been shown. | 1761 // Boolean pref indicating whether the session restore dialog has been shown. |
1758 const char kRestoreSessionStateDialogShown[] = | 1762 const char kRestoreSessionStateDialogShown[] = |
1759 "restore_session_state.dialog_shown"; | 1763 "restore_session_state.dialog_shown"; |
1760 | 1764 |
1761 // Boolean that is true if Web Intents is enabled. | 1765 // Boolean that is true if Web Intents is enabled. |
1762 const char kWebIntentsEnabled[] = "webintents.enabled"; | 1766 const char kWebIntentsEnabled[] = "webintents.enabled"; |
1763 | 1767 |
1764 } // namespace prefs | 1768 } // namespace prefs |
OLD | NEW |