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/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 // next startup, based on what was actually needed during this startup. | 432 // next startup, based on what was actually needed during this startup. |
433 const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list"; | 433 const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list"; |
434 | 434 |
435 // A list of host names used to fetch web pages, and their commonly used | 435 // A list of host names used to fetch web pages, and their commonly used |
436 // sub-resource hostnames (and expected latency benefits from pre-resolving, or | 436 // sub-resource hostnames (and expected latency benefits from pre-resolving, or |
437 // preconnecting to, such sub-resource hostnames). | 437 // preconnecting to, such sub-resource hostnames). |
438 // This list is adaptively grown and pruned. | 438 // This list is adaptively grown and pruned. |
439 const char kDnsPrefetchingHostReferralList[] = | 439 const char kDnsPrefetchingHostReferralList[] = |
440 "dns_prefetching.host_referral_list"; | 440 "dns_prefetching.host_referral_list"; |
441 | 441 |
| 442 // Controls if the QUIC protocol is allowed. |
| 443 const char kQuicAllowed[] = "net.quic_allowed"; |
| 444 |
442 // Prefs for persisting HttpServerProperties. | 445 // Prefs for persisting HttpServerProperties. |
443 const char kHttpServerProperties[] = "net.http_server_properties"; | 446 const char kHttpServerProperties[] = "net.http_server_properties"; |
444 | 447 |
445 // Prefs for persisting network qualities. | 448 // Prefs for persisting network qualities. |
446 const char kNetworkQualities[] = "net.network_qualities"; | 449 const char kNetworkQualities[] = "net.network_qualities"; |
447 | 450 |
448 #if defined(OS_ANDROID) | 451 #if defined(OS_ANDROID) |
449 // Last time that a check for cloud policy management was done. This time is | 452 // Last time that a check for cloud policy management was done. This time is |
450 // recorded on Android so that retries aren't attempted on every startup. | 453 // recorded on Android so that retries aren't attempted on every startup. |
451 // Instead the cloud policy registration is retried at least 1 or 3 days later. | 454 // Instead the cloud policy registration is retried at least 1 or 3 days later. |
(...skipping 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2348 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = | 2351 const char kSearchGeolocationPreDisclosureMetricsRecorded[] = |
2349 "search_geolocation_pre_disclosure_metrics_recorded"; | 2352 "search_geolocation_pre_disclosure_metrics_recorded"; |
2350 | 2353 |
2351 // Whether the metrics for the state of geolocation post-disclosure being shown | 2354 // Whether the metrics for the state of geolocation post-disclosure being shown |
2352 // have been recorded. | 2355 // have been recorded. |
2353 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = | 2356 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = |
2354 "search_geolocation_post_disclosure_metrics_recorded"; | 2357 "search_geolocation_post_disclosure_metrics_recorded"; |
2355 #endif | 2358 #endif |
2356 | 2359 |
2357 } // namespace prefs | 2360 } // namespace prefs |
OLD | NEW |