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 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
9 | 9 |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1338 const char kCertRevocationCheckingRequiredLocalAnchors[] = | 1338 const char kCertRevocationCheckingRequiredLocalAnchors[] = |
1339 "ssl.rev_checking.required_for_local_anchors"; | 1339 "ssl.rev_checking.required_for_local_anchors"; |
1340 const char kSSLVersionMin[] = "ssl.version_min"; | 1340 const char kSSLVersionMin[] = "ssl.version_min"; |
1341 const char kSSLVersionMax[] = "ssl.version_max"; | 1341 const char kSSLVersionMax[] = "ssl.version_max"; |
1342 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist"; | 1342 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist"; |
1343 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled"; | 1343 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled"; |
1344 | 1344 |
1345 // A boolean pref of the EULA accepted flag. | 1345 // A boolean pref of the EULA accepted flag. |
1346 const char kEulaAccepted[] = "EulaAccepted"; | 1346 const char kEulaAccepted[] = "EulaAccepted"; |
1347 | 1347 |
1348 // The metrics client GUID, entropy source and session ID. | |
1349 // Note: The names client_id2 and low_entropy_source2 are a result of creating | |
1350 // new prefs to do a one-time reset of the previous values. | |
1351 const char kMetricsClientID[] = "user_experience_metrics.client_id2"; | |
1352 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; | |
1353 const char kMetricsLowEntropySource[] = | |
1354 "user_experience_metrics.low_entropy_source2"; | |
1355 | |
1356 // Old client id and low entropy source values, cleared the first time this | |
1357 // version is launched. | |
1358 // TODO(asvitkine): Delete these after a few releases have gone by and old | |
1359 // values have been cleaned up. http://crbug.com/357704 | |
1360 const char kMetricsOldClientID[] = "user_experience_metrics.client_id"; | |
1361 const char kMetricsOldLowEntropySource[] = | |
1362 "user_experience_metrics.low_entropy_source"; | |
1363 | |
1364 // Boolean that specifies whether or not crash reporting and metrics reporting | 1348 // Boolean that specifies whether or not crash reporting and metrics reporting |
1365 // are sent over the network for analysis. | 1349 // are sent over the network for analysis. |
1366 const char kMetricsReportingEnabled[] = | 1350 const char kMetricsReportingEnabled[] = |
1367 "user_experience_metrics.reporting_enabled"; | 1351 "user_experience_metrics.reporting_enabled"; |
1368 // Date/time when the user opted in to UMA and generated the client id for the | |
1369 // very first time (local machine time, stored as a 64-bit time_t value). | |
1370 const char kMetricsReportingEnabledTimestamp[] = | |
1371 "user_experience_metrics.client_id_timestamp"; | |
1372 | 1352 |
1373 // Boolean that specifies whether or not crash reports are sent | 1353 // Boolean that specifies whether or not crash reports are sent |
1374 // over the network for analysis. | 1354 // over the network for analysis. |
1375 #if defined(OS_ANDROID) | 1355 #if defined(OS_ANDROID) |
1376 const char kCrashReportingEnabled[] = | 1356 const char kCrashReportingEnabled[] = |
1377 "user_experience_metrics_crash.reporting_enabled"; | 1357 "user_experience_metrics_crash.reporting_enabled"; |
1378 #endif | 1358 #endif |
1379 | 1359 |
1380 // 64-bit integer serialization of the base::Time from the last successful seed | 1360 // 64-bit integer serialization of the base::Time from the last successful seed |
1381 // fetch (i.e. when the Variations server responds with 200 or 304). | 1361 // fetch (i.e. when the Variations server responds with 200 or 304). |
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2517 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2497 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2518 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2498 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2519 // title or an empty string if the bookmark node was removed. | 2499 // title or an empty string if the bookmark node was removed. |
2520 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2500 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2521 #endif | 2501 #endif |
2522 | 2502 |
2523 // Whether DNS Quick Check is disabled in proxy resolution. | 2503 // Whether DNS Quick Check is disabled in proxy resolution. |
2524 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2504 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2525 | 2505 |
2526 } // namespace prefs | 2506 } // namespace prefs |
OLD | NEW |