Chromium Code Reviews| Index: components/content_settings/core/browser/content_settings_registry.cc |
| diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc |
| index 217e0a8eb282365058ac9a83f1cf7ba6543894c8..6b18f449543cacb3ce70e237a93f088ee631506d 100644 |
| --- a/components/content_settings/core/browser/content_settings_registry.cc |
| +++ b/components/content_settings/core/browser/content_settings_registry.cc |
| @@ -275,8 +275,8 @@ void ContentSettingsRegistry::Init() { |
| ContentSettingsInfo::INHERIT_IF_LESS_PERMISSIVE); |
| Register(CONTENT_SETTINGS_TYPE_SUBRESOURCE_FILTER, "subresource-filter", |
| - CONTENT_SETTING_ALLOW, |
| - WebsiteSettingsInfo::UNSYNCABLE, WhitelistedSchemes(), |
| + CONTENT_SETTING_BLOCK, WebsiteSettingsInfo::UNSYNCABLE, |
|
engedy
2017/05/11 10:39:37
Changing the default value for a content setting i
Charlie Harrison
2017/05/11 14:05:44
AFAICT this is safe since default values are not p
msramek
2017/05/11 14:29:20
The default provider currently doesn't distinguish
Charlie Harrison
2017/05/11 15:50:11
Thanks for the clarification. As discussed offline
|
| + WhitelistedSchemes(), |
| ValidSettings(CONTENT_SETTING_ALLOW, CONTENT_SETTING_BLOCK), |
| WebsiteSettingsInfo::REQUESTING_ORIGIN_ONLY_SCOPE, |
| WebsiteSettingsRegistry::DESKTOP | |