Chromium Code Reviews| 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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 430 // next startup, based on what was actually needed during this startup. | 430 // next startup, based on what was actually needed during this startup. |
| 431 const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list"; | 431 const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list"; |
| 432 | 432 |
| 433 // A list of host names used to fetch web pages, and their commonly used | 433 // A list of host names used to fetch web pages, and their commonly used |
| 434 // sub-resource hostnames (and expected latency benefits from pre-resolving, or | 434 // sub-resource hostnames (and expected latency benefits from pre-resolving, or |
| 435 // preconnecting to, such sub-resource hostnames). | 435 // preconnecting to, such sub-resource hostnames). |
| 436 // This list is adaptively grown and pruned. | 436 // This list is adaptively grown and pruned. |
| 437 const char kDnsPrefetchingHostReferralList[] = | 437 const char kDnsPrefetchingHostReferralList[] = |
| 438 "dns_prefetching.host_referral_list"; | 438 "dns_prefetching.host_referral_list"; |
| 439 | 439 |
| 440 // Controls if the QUIC protocol is allowed. | |
| 441 const char kQuicAllowed[] = "net.quic.allowed"; | |
|
gab
2016/12/13 21:36:16
The second . will create a dictionary for this sta
pmarko
2016/12/19 21:25:11
Good point! Changed to net.quic_allowed - Done.
| |
| 442 | |
| 440 // Prefs for persisting HttpServerProperties. | 443 // Prefs for persisting HttpServerProperties. |
| 441 const char kHttpServerProperties[] = "net.http_server_properties"; | 444 const char kHttpServerProperties[] = "net.http_server_properties"; |
| 442 | 445 |
| 443 // Prefs for persisting network qualities. | 446 // Prefs for persisting network qualities. |
| 444 const char kNetworkQualities[] = "net.network_qualities"; | 447 const char kNetworkQualities[] = "net.network_qualities"; |
| 445 | 448 |
| 446 #if defined(OS_ANDROID) | 449 #if defined(OS_ANDROID) |
| 447 // Last time that a check for cloud policy management was done. This time is | 450 // Last time that a check for cloud policy management was done. This time is |
| 448 // recorded on Android so that retries aren't attempted on every startup. | 451 // recorded on Android so that retries aren't attempted on every startup. |
| 449 // Instead the cloud policy registration is retried at least 1 or 3 days later. | 452 // Instead the cloud policy registration is retried at least 1 or 3 days later. |
| (...skipping 1866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2316 // How many times the search geolocation disclosure has been shown. | 2319 // How many times the search geolocation disclosure has been shown. |
| 2317 const char kSearchGeolocationDisclosureShownCount[] = | 2320 const char kSearchGeolocationDisclosureShownCount[] = |
| 2318 "search_geolocation_disclosure.shown_count"; | 2321 "search_geolocation_disclosure.shown_count"; |
| 2319 | 2322 |
| 2320 // When the disclosure was shown last. | 2323 // When the disclosure was shown last. |
| 2321 const char kSearchGeolocationDisclosureLastShowDate[] = | 2324 const char kSearchGeolocationDisclosureLastShowDate[] = |
| 2322 "search_geolocation_disclosure.last_show_date"; | 2325 "search_geolocation_disclosure.last_show_date"; |
| 2323 #endif | 2326 #endif |
| 2324 | 2327 |
| 2325 } // namespace prefs | 2328 } // namespace prefs |
| OLD | NEW |