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 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1355 const char kSSLVersionMin[] = "ssl.version_min"; | 1355 const char kSSLVersionMin[] = "ssl.version_min"; |
1356 const char kSSLVersionMax[] = "ssl.version_max"; | 1356 const char kSSLVersionMax[] = "ssl.version_max"; |
1357 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist"; | 1357 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist"; |
1358 const char kEnableOriginBoundCerts[] = "ssl.origin_bound_certs.enabled"; | 1358 const char kEnableOriginBoundCerts[] = "ssl.origin_bound_certs.enabled"; |
1359 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled"; | 1359 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled"; |
1360 | 1360 |
1361 // A boolean pref of the EULA accepted flag. | 1361 // A boolean pref of the EULA accepted flag. |
1362 const char kEulaAccepted[] = "EulaAccepted"; | 1362 const char kEulaAccepted[] = "EulaAccepted"; |
1363 | 1363 |
1364 // The metrics client GUID, entropy source and session ID. | 1364 // The metrics client GUID, entropy source and session ID. |
1365 const char kMetricsClientID[] = "user_experience_metrics.client_id"; | 1365 // Note: The names client_id2 and low_entropy_source2 are a result of creating |
1366 // new prefs to do a one-time reset of the previous values. | |
1367 const char kMetricsClientID[] = "user_experience_metrics.client_id2"; | |
1366 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; | 1368 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; |
1367 const char kMetricsLowEntropySource[] = | 1369 const char kMetricsLowEntropySource[] = |
1368 "user_experience_metrics.low_entropy_source"; | 1370 "user_experience_metrics.low_entropy_source2"; |
1369 const char kMetricsPermutedEntropyCache[] = | 1371 const char kMetricsPermutedEntropyCache[] = |
1370 "user_experience_metrics.permuted_entropy_cache"; | 1372 "user_experience_metrics.permuted_entropy_cache"; |
1371 | 1373 |
1372 // Date/time when the current metrics profile ID was created | 1374 // Old client id and low entropy source values, cleared the first time this |
1373 // (which hopefully corresponds to first run). | 1375 // version is launched. |
1374 const char kMetricsClientIDTimestamp[] = | 1376 // TODO(asvitkine): Delete these after a few releases have gone by and old |
1375 "user_experience_metrics.client_id_timestamp"; | 1377 // values have been cleaned up. |
Ilya Sherman
2014/03/28 18:23:06
nit: Same thing here.
Alexei Svitkine (slow)
2014/03/28 18:40:19
Done.
| |
1378 const char kMetricsOldClientID[] = "user_experience_metrics.client_id"; | |
1379 const char kMetricsOldLowEntropySource[] = | |
1380 "user_experience_metrics.low_entropy_source"; | |
1376 | 1381 |
1377 // Boolean that specifies whether or not crash reporting and metrics reporting | 1382 // Boolean that specifies whether or not crash reporting and metrics reporting |
1378 // are sent over the network for analysis. | 1383 // are sent over the network for analysis. |
1379 const char kMetricsReportingEnabled[] = | 1384 const char kMetricsReportingEnabled[] = |
1380 "user_experience_metrics.reporting_enabled"; | 1385 "user_experience_metrics.reporting_enabled"; |
1386 // Date/time when the user opted in to UMA and generated the client id for the | |
1387 // very first time (local machine time, stored as a 64-bit time_t value). | |
1388 const char kMetricsReportingEnabledTimestamp[] = | |
1389 "user_experience_metrics.client_id_timestamp"; | |
1381 | 1390 |
1382 // A machine ID used to detect when underlying hardware changes. It is only | 1391 // A machine ID used to detect when underlying hardware changes. It is only |
1383 // stored locally and never transmitted in metrics reports. | 1392 // stored locally and never transmitted in metrics reports. |
1384 const char kMetricsMachineId[] = "user_experience_metrics.machine_id"; | 1393 const char kMetricsMachineId[] = "user_experience_metrics.machine_id"; |
1385 | 1394 |
1386 // Boolean that specifies whether or not crash reports are sent | 1395 // Boolean that specifies whether or not crash reports are sent |
1387 // over the network for analysis. | 1396 // over the network for analysis. |
1388 #if defined(OS_ANDROID) | 1397 #if defined(OS_ANDROID) |
1389 const char kCrashReportingEnabled[] = | 1398 const char kCrashReportingEnabled[] = |
1390 "user_experience_metrics_crash.reporting_enabled"; | 1399 "user_experience_metrics_crash.reporting_enabled"; |
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2590 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2599 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2591 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2600 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2592 // title or an empty string if the bookmark node was removed. | 2601 // title or an empty string if the bookmark node was removed. |
2593 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2602 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2594 #endif | 2603 #endif |
2595 | 2604 |
2596 // Whether DNS Quick Check is disabled in proxy resolution. | 2605 // Whether DNS Quick Check is disabled in proxy resolution. |
2597 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2606 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2598 | 2607 |
2599 } // namespace prefs | 2608 } // namespace prefs |
OLD | NEW |