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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 // This list is adaptively grown and pruned. | 322 // This list is adaptively grown and pruned. |
323 const char kDnsPrefetchingHostReferralList[] = | 323 const char kDnsPrefetchingHostReferralList[] = |
324 "dns_prefetching.host_referral_list"; | 324 "dns_prefetching.host_referral_list"; |
325 | 325 |
326 // Disables the SPDY protocol. | 326 // Disables the SPDY protocol. |
327 const char kDisableSpdy[] = "spdy.disabled"; | 327 const char kDisableSpdy[] = "spdy.disabled"; |
328 | 328 |
329 // Disables the listed protocol schemes. | 329 // Disables the listed protocol schemes. |
330 const char kDisabledSchemes[] = "protocol.disabled_schemes"; | 330 const char kDisabledSchemes[] = "protocol.disabled_schemes"; |
331 | 331 |
| 332 // Blocks access to the listed host patterns. |
| 333 const char kUrlBlacklist[] = "policy.url_blacklist"; |
| 334 |
| 335 // Allows access to the listed host patterns, as exceptions to the blacklist. |
| 336 const char kUrlWhitelist[] = "policy.url_whitelist"; |
| 337 |
332 // Boolean pref indicating whether the instant confirm dialog has been shown. | 338 // Boolean pref indicating whether the instant confirm dialog has been shown. |
333 const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown"; | 339 const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown"; |
334 | 340 |
335 // Boolean pref indicating if instant is enabled. | 341 // Boolean pref indicating if instant is enabled. |
336 const char kInstantEnabled[] = "instant.enabled"; | 342 const char kInstantEnabled[] = "instant.enabled"; |
337 | 343 |
338 // Boolean pref indicating if instant was ever enabled. | 344 // Boolean pref indicating if instant was ever enabled. |
339 const char kInstantEnabledOnce[] = "instant.enabled_once"; | 345 const char kInstantEnabledOnce[] = "instant.enabled_once"; |
340 | 346 |
341 // Time when instant was last enabled. | 347 // Time when instant was last enabled. |
(...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1574 // specified. | 1580 // specified. |
1575 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1581 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
1576 | 1582 |
1577 // Integers that specify the policy refresh rate for device- and user-policy in | 1583 // Integers that specify the policy refresh rate for device- and user-policy in |
1578 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1584 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
1579 // by the cloud policy subsystem. | 1585 // by the cloud policy subsystem. |
1580 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1586 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
1581 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1587 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
1582 | 1588 |
1583 } // namespace prefs | 1589 } // namespace prefs |
OLD | NEW |