| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 // A list of host names used to fetch web pages, and their commonly used | 335 // A list of host names used to fetch web pages, and their commonly used |
| 336 // sub-resource hostnames (and expected latency benefits from pre-resolving, or | 336 // sub-resource hostnames (and expected latency benefits from pre-resolving, or |
| 337 // preconnecting to, such sub-resource hostnames). | 337 // preconnecting to, such sub-resource hostnames). |
| 338 // This list is adaptively grown and pruned. | 338 // This list is adaptively grown and pruned. |
| 339 const char kDnsPrefetchingHostReferralList[] = | 339 const char kDnsPrefetchingHostReferralList[] = |
| 340 "dns_prefetching.host_referral_list"; | 340 "dns_prefetching.host_referral_list"; |
| 341 | 341 |
| 342 // Disables the SPDY protocol. | 342 // Disables the SPDY protocol. |
| 343 const char kDisableSpdy[] = "spdy.disabled"; | 343 const char kDisableSpdy[] = "spdy.disabled"; |
| 344 | 344 |
| 345 // Prefs for persisting HttpServerProperties. |
| 346 const char kHttpServerProperties[] = "net.http_server_properties"; |
| 347 |
| 345 // Prefs for server names that support SPDY protocol. | 348 // Prefs for server names that support SPDY protocol. |
| 346 const char kSpdyServers[] = "spdy.servers"; | 349 const char kSpdyServers[] = "spdy.servers"; |
| 347 | 350 |
| 348 // Prefs for servers that support Alternate-Protocol. | 351 // Prefs for servers that support Alternate-Protocol. |
| 349 const char kAlternateProtocolServers[] = "spdy.alternate_protocol"; | 352 const char kAlternateProtocolServers[] = "spdy.alternate_protocol"; |
| 350 | 353 |
| 351 // Disables the listed protocol schemes. | 354 // Disables the listed protocol schemes. |
| 352 const char kDisabledSchemes[] = "protocol.disabled_schemes"; | 355 const char kDisabledSchemes[] = "protocol.disabled_schemes"; |
| 353 | 356 |
| 354 // Blocks access to the listed host patterns. | 357 // Blocks access to the listed host patterns. |
| (...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1648 | 1651 |
| 1649 // String that represents the recovery component last downloaded version. This | 1652 // String that represents the recovery component last downloaded version. This |
| 1650 // takes the usual 'a.b.c.d' notation. | 1653 // takes the usual 'a.b.c.d' notation. |
| 1651 const char kRecoveryComponentVersion[] = "recovery_component.version"; | 1654 const char kRecoveryComponentVersion[] = "recovery_component.version"; |
| 1652 | 1655 |
| 1653 // String that stores the component updater last known state. This is used for | 1656 // String that stores the component updater last known state. This is used for |
| 1654 // troubleshooting. | 1657 // troubleshooting. |
| 1655 const char kComponentUpdaterState[] = "component_updater.state"; | 1658 const char kComponentUpdaterState[] = "component_updater.state"; |
| 1656 | 1659 |
| 1657 } // namespace prefs | 1660 } // namespace prefs |
| OLD | NEW |