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 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 1436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1447 const char kManagedDefaultJavaScriptSetting[] = | 1447 const char kManagedDefaultJavaScriptSetting[] = |
1448 "profile.managed_default_content_settings.javascript"; | 1448 "profile.managed_default_content_settings.javascript"; |
1449 const char kManagedDefaultPluginsSetting[] = | 1449 const char kManagedDefaultPluginsSetting[] = |
1450 "profile.managed_default_content_settings.plugins"; | 1450 "profile.managed_default_content_settings.plugins"; |
1451 const char kManagedDefaultPopupsSetting[] = | 1451 const char kManagedDefaultPopupsSetting[] = |
1452 "profile.managed_default_content_settings.popups"; | 1452 "profile.managed_default_content_settings.popups"; |
1453 const char kManagedDefaultGeolocationSetting[] = | 1453 const char kManagedDefaultGeolocationSetting[] = |
1454 "profile.managed_default_content_settings.geolocation"; | 1454 "profile.managed_default_content_settings.geolocation"; |
1455 const char kManagedDefaultNotificationsSetting[] = | 1455 const char kManagedDefaultNotificationsSetting[] = |
1456 "profile.managed_default_content_settings.notifications"; | 1456 "profile.managed_default_content_settings.notifications"; |
| 1457 const char kManagedDefaultAutoSelectCertificateSetting[] = |
| 1458 "profile.managed_default_content_settings.auto_select_certificate"; |
1457 | 1459 |
1458 // Preferences that are exclusively used to store managed | 1460 // Preferences that are exclusively used to store managed |
1459 // content settings patterns. | 1461 // content settings patterns. |
1460 const char kManagedCookiesAllowedForUrls[] = | 1462 const char kManagedCookiesAllowedForUrls[] = |
1461 "profile.managed_cookies_allowed_for_urls"; | 1463 "profile.managed_cookies_allowed_for_urls"; |
1462 const char kManagedCookiesBlockedForUrls[] = | 1464 const char kManagedCookiesBlockedForUrls[] = |
1463 "profile.managed_cookies_blocked_for_urls"; | 1465 "profile.managed_cookies_blocked_for_urls"; |
1464 const char kManagedCookiesSessionOnlyForUrls[] = | 1466 const char kManagedCookiesSessionOnlyForUrls[] = |
1465 "profile.managed_cookies_sessiononly_for_urls"; | 1467 "profile.managed_cookies_sessiononly_for_urls"; |
1466 const char kManagedImagesAllowedForUrls[] = | 1468 const char kManagedImagesAllowedForUrls[] = |
1467 "profile.managed_images_allowed_for_urls"; | 1469 "profile.managed_images_allowed_for_urls"; |
1468 const char kManagedImagesBlockedForUrls[] = | 1470 const char kManagedImagesBlockedForUrls[] = |
1469 "profile.managed_images_blocked_for_urls"; | 1471 "profile.managed_images_blocked_for_urls"; |
1470 const char kManagedJavaScriptAllowedForUrls[] = | 1472 const char kManagedJavaScriptAllowedForUrls[] = |
1471 "profile.managed_javascript_allowed_for_urls"; | 1473 "profile.managed_javascript_allowed_for_urls"; |
1472 const char kManagedJavaScriptBlockedForUrls[] = | 1474 const char kManagedJavaScriptBlockedForUrls[] = |
1473 "profile.managed_javascript_blocked_for_urls"; | 1475 "profile.managed_javascript_blocked_for_urls"; |
1474 const char kManagedPluginsAllowedForUrls[] = | 1476 const char kManagedPluginsAllowedForUrls[] = |
1475 "profile.managed_plugins_allowed_for_urls"; | 1477 "profile.managed_plugins_allowed_for_urls"; |
1476 const char kManagedPluginsBlockedForUrls[] = | 1478 const char kManagedPluginsBlockedForUrls[] = |
1477 "profile.managed_plugins_blocked_for_urls"; | 1479 "profile.managed_plugins_blocked_for_urls"; |
1478 const char kManagedPopupsAllowedForUrls[] = | 1480 const char kManagedPopupsAllowedForUrls[] = |
1479 "profile.managed_popups_allowed_for_urls"; | 1481 "profile.managed_popups_allowed_for_urls"; |
1480 const char kManagedPopupsBlockedForUrls[] = | 1482 const char kManagedPopupsBlockedForUrls[] = |
1481 "profile.managed_popups_blocked_for_urls"; | 1483 "profile.managed_popups_blocked_for_urls"; |
| 1484 const char kManagedAutoSelectCertificateForUrls[] = |
| 1485 "profile.managed_auto_select_certificate_for_urls"; |
1482 | 1486 |
1483 // Set to true if the user created a login item so we should not modify it when | 1487 // Set to true if the user created a login item so we should not modify it when |
1484 // uninstalling background apps. | 1488 // uninstalling background apps. |
1485 const char kUserCreatedLoginItem[] = "background_mode.user_created_login_item"; | 1489 const char kUserCreatedLoginItem[] = "background_mode.user_created_login_item"; |
1486 | 1490 |
1487 // Set to true if background mode is enabled on this browser. | 1491 // Set to true if background mode is enabled on this browser. |
1488 const char kBackgroundModeEnabled[] = "background_mode.enabled"; | 1492 const char kBackgroundModeEnabled[] = "background_mode.enabled"; |
1489 | 1493 |
1490 // List of protocol handlers. | 1494 // List of protocol handlers. |
1491 const char kRegisteredProtocolHandlers[] = | 1495 const char kRegisteredProtocolHandlers[] = |
1492 "custom_handlers.registered_protocol_handlers"; | 1496 "custom_handlers.registered_protocol_handlers"; |
1493 | 1497 |
1494 // List of protocol handlers the user has requested not to be asked about again. | 1498 // List of protocol handlers the user has requested not to be asked about again. |
1495 const char kIgnoredProtocolHandlers[] = | 1499 const char kIgnoredProtocolHandlers[] = |
1496 "custom_handlers.ignored_protocol_handlers"; | 1500 "custom_handlers.ignored_protocol_handlers"; |
1497 | 1501 |
1498 // Whether user-specified handlers for protocols and content types can be | 1502 // Whether user-specified handlers for protocols and content types can be |
1499 // specified. | 1503 // specified. |
1500 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1504 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
1501 | 1505 |
1502 // Integers that specify the policy refresh rate for device- and user-policy in | 1506 // Integers that specify the policy refresh rate for device- and user-policy in |
1503 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1507 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
1504 // by the cloud policy subsystem. | 1508 // by the cloud policy subsystem. |
1505 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1509 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
1506 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1510 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
1507 | 1511 |
1508 } // namespace prefs | 1512 } // namespace prefs |
OLD | NEW |