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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 // A list of host names used to fetch web pages, and their commonly used | 320 // A list of host names used to fetch web pages, and their commonly used |
321 // sub-resource hostnames (and expected latency benefits from pre-resolving, or | 321 // sub-resource hostnames (and expected latency benefits from pre-resolving, or |
322 // preconnecting to, such sub-resource hostnames). | 322 // preconnecting to, such sub-resource hostnames). |
323 // This list is adaptively grown and pruned. | 323 // This list is adaptively grown and pruned. |
324 const char kDnsPrefetchingHostReferralList[] = | 324 const char kDnsPrefetchingHostReferralList[] = |
325 "dns_prefetching.host_referral_list"; | 325 "dns_prefetching.host_referral_list"; |
326 | 326 |
327 // Disables the SPDY protocol. | 327 // Disables the SPDY protocol. |
328 const char kDisableSpdy[] = "spdy.disabled"; | 328 const char kDisableSpdy[] = "spdy.disabled"; |
329 | 329 |
| 330 // Prefs for server names that support SPDY protocol. |
| 331 const char kSpdyServers[] = "spdy.servers"; |
| 332 |
330 // Disables the listed protocol schemes. | 333 // Disables the listed protocol schemes. |
331 const char kDisabledSchemes[] = "protocol.disabled_schemes"; | 334 const char kDisabledSchemes[] = "protocol.disabled_schemes"; |
332 | 335 |
333 // Blocks access to the listed host patterns. | 336 // Blocks access to the listed host patterns. |
334 const char kUrlBlacklist[] = "policy.url_blacklist"; | 337 const char kUrlBlacklist[] = "policy.url_blacklist"; |
335 | 338 |
336 // Allows access to the listed host patterns, as exceptions to the blacklist. | 339 // Allows access to the listed host patterns, as exceptions to the blacklist. |
337 const char kUrlWhitelist[] = "policy.url_whitelist"; | 340 const char kUrlWhitelist[] = "policy.url_whitelist"; |
338 | 341 |
339 // Boolean pref indicating whether the instant confirm dialog has been shown. | 342 // Boolean pref indicating whether the instant confirm dialog has been shown. |
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1586 // specified. | 1589 // specified. |
1587 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1590 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
1588 | 1591 |
1589 // Integers that specify the policy refresh rate for device- and user-policy in | 1592 // Integers that specify the policy refresh rate for device- and user-policy in |
1590 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1593 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
1591 // by the cloud policy subsystem. | 1594 // by the cloud policy subsystem. |
1592 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1595 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
1593 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1596 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
1594 | 1597 |
1595 } // namespace prefs | 1598 } // namespace prefs |
OLD | NEW |