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 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1018 | 1018 |
1019 // Array of strings that are each UMA logs that were not sent because the | 1019 // Array of strings that are each UMA logs that were not sent because the |
1020 // browser terminated before these accumulated metrics could be sent. These | 1020 // browser terminated before these accumulated metrics could be sent. These |
1021 // logs typically include histograms and memory reports, as well as ongoing | 1021 // logs typically include histograms and memory reports, as well as ongoing |
1022 // user activities. Currently we store both XML and protobuf versions. | 1022 // user activities. Currently we store both XML and protobuf versions. |
1023 const char kMetricsOngoingLogsXml[] = | 1023 const char kMetricsOngoingLogsXml[] = |
1024 "user_experience_metrics.ongoing_logs"; | 1024 "user_experience_metrics.ongoing_logs"; |
1025 const char kMetricsOngoingLogsProto[] = | 1025 const char kMetricsOngoingLogsProto[] = |
1026 "user_experience_metrics.ongoing_logs_as_protobufs"; | 1026 "user_experience_metrics.ongoing_logs_as_protobufs"; |
1027 | 1027 |
| 1028 // String serialized form of variations seed protobuf. |
| 1029 const char kVariationsSeed[] = "variations_seed"; |
| 1030 |
1028 // Where profile specific metrics are placed. | 1031 // Where profile specific metrics are placed. |
1029 const char kProfileMetrics[] = "user_experience_metrics.profiles"; | 1032 const char kProfileMetrics[] = "user_experience_metrics.profiles"; |
1030 | 1033 |
1031 // The metrics for a profile are stored as dictionary values under the | 1034 // The metrics for a profile are stored as dictionary values under the |
1032 // path kProfileMetrics. The individual metrics are placed under the path | 1035 // path kProfileMetrics. The individual metrics are placed under the path |
1033 // kProfileMetrics.kProfilePrefix<hashed-profile-id>. | 1036 // kProfileMetrics.kProfilePrefix<hashed-profile-id>. |
1034 const char kProfilePrefix[] = "profile-"; | 1037 const char kProfilePrefix[] = "profile-"; |
1035 | 1038 |
1036 // True if the previous run of the program exited cleanly. | 1039 // True if the previous run of the program exited cleanly. |
1037 const char kStabilityExitedCleanly[] = | 1040 const char kStabilityExitedCleanly[] = |
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1868 const char kInManagedMode[] = "managed_mode"; | 1871 const char kInManagedMode[] = "managed_mode"; |
1869 | 1872 |
1870 // Counts how many more times the 'profile on a network share' warning should be | 1873 // Counts how many more times the 'profile on a network share' warning should be |
1871 // shown to the user before the next silence period. | 1874 // shown to the user before the next silence period. |
1872 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 1875 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
1873 // Tracks the time of the last shown warning. Used to reset | 1876 // Tracks the time of the last shown warning. Used to reset |
1874 // |network_profile.warnings_left| after a silence period. | 1877 // |network_profile.warnings_left| after a silence period. |
1875 const char kNetworkProfileLastWarningTime[] = | 1878 const char kNetworkProfileLastWarningTime[] = |
1876 "network_profile.last_warning_time"; | 1879 "network_profile.last_warning_time"; |
1877 } // namespace prefs | 1880 } // namespace prefs |
OLD | NEW |