| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/content_settings/core/common/pref_names.h" | 5 #include "components/content_settings/core/common/pref_names.h" |
| 6 | 6 |
| 7 namespace prefs { | 7 namespace prefs { |
| 8 | 8 |
| 9 // Version of the pattern format used to define content settings. | 9 // Version of the pattern format used to define content settings. |
| 10 const char kContentSettingsVersion[] = "profile.content_settings.pref_version"; | 10 const char kContentSettingsVersion[] = "profile.content_settings.pref_version"; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 "profile.default_content_setting_values.protected_media_identifier"; | 78 "profile.default_content_setting_values.protected_media_identifier"; |
| 79 #endif | 79 #endif |
| 80 const char kDefaultAppBannerSetting[] = | 80 const char kDefaultAppBannerSetting[] = |
| 81 "profile.default_content_setting_values.app_banner"; | 81 "profile.default_content_setting_values.app_banner"; |
| 82 | 82 |
| 83 // Dictionary of content settings that can globally disallow all hosts by | 83 // Dictionary of content settings that can globally disallow all hosts by |
| 84 // default. If a value is set, it means the setting is globally disallowed. | 84 // default. If a value is set, it means the setting is globally disallowed. |
| 85 // If a value is not set, it means the setting is allowed. | 85 // If a value is not set, it means the setting is allowed. |
| 86 const char kOverrideContentSettings[] = "profile.override_content_settings"; | 86 const char kOverrideContentSettings[] = "profile.override_content_settings"; |
| 87 | 87 |
| 88 // Boolean indicating whether the media stream default setting had been |
| 89 // migrated into two separate microphone and camera settings. |
| 90 const char kMigratedDefaultMediaStreamSetting[] = |
| 91 "profile.migrated_default_media_stream_content_settings"; |
| 92 |
| 88 // Preferences that are exclusively used to store managed values for default | 93 // Preferences that are exclusively used to store managed values for default |
| 89 // content settings. | 94 // content settings. |
| 90 const char kManagedDefaultCookiesSetting[] = | 95 const char kManagedDefaultCookiesSetting[] = |
| 91 "profile.managed_default_content_settings.cookies"; | 96 "profile.managed_default_content_settings.cookies"; |
| 92 const char kManagedDefaultImagesSetting[] = | 97 const char kManagedDefaultImagesSetting[] = |
| 93 "profile.managed_default_content_settings.images"; | 98 "profile.managed_default_content_settings.images"; |
| 94 const char kManagedDefaultJavaScriptSetting[] = | 99 const char kManagedDefaultJavaScriptSetting[] = |
| 95 "profile.managed_default_content_settings.javascript"; | 100 "profile.managed_default_content_settings.javascript"; |
| 96 const char kManagedDefaultPluginsSetting[] = | 101 const char kManagedDefaultPluginsSetting[] = |
| 97 "profile.managed_default_content_settings.plugins"; | 102 "profile.managed_default_content_settings.plugins"; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 const char kManagedPopupsBlockedForUrls[] = | 134 const char kManagedPopupsBlockedForUrls[] = |
| 130 "profile.managed_popups_blocked_for_urls"; | 135 "profile.managed_popups_blocked_for_urls"; |
| 131 const char kManagedNotificationsAllowedForUrls[] = | 136 const char kManagedNotificationsAllowedForUrls[] = |
| 132 "profile.managed_notifications_allowed_for_urls"; | 137 "profile.managed_notifications_allowed_for_urls"; |
| 133 const char kManagedNotificationsBlockedForUrls[] = | 138 const char kManagedNotificationsBlockedForUrls[] = |
| 134 "profile.managed_notifications_blocked_for_urls"; | 139 "profile.managed_notifications_blocked_for_urls"; |
| 135 const char kManagedAutoSelectCertificateForUrls[] = | 140 const char kManagedAutoSelectCertificateForUrls[] = |
| 136 "profile.managed_auto_select_certificate_for_urls"; | 141 "profile.managed_auto_select_certificate_for_urls"; |
| 137 | 142 |
| 138 } // namespace prefs | 143 } // namespace prefs |
| OLD | NEW |