LeOSium_webview/mulch/patches/0001-Vanadium/0028-block-playing-protecte...

23 lines
1.1 KiB
Diff
Raw Permalink Normal View History

2023-11-18 11:46:19 +01:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Daniel Micay <danielmicay@gmail.com>
Date: Tue, 1 Dec 2020 00:29:28 -0500
Subject: [PATCH] block playing protected media by default
---
.../content_settings/core/browser/content_settings_registry.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
index 5e5b1b2667f7c..dddcd1e1f2be7 100644
--- a/components/content_settings/core/browser/content_settings_registry.cc
+++ b/components/content_settings/core/browser/content_settings_registry.cc
@@ -209,7 +209,7 @@ void ContentSettingsRegistry::Init() {
ContentSettingsInfo::EXCEPTIONS_ON_SECURE_ORIGINS_ONLY);
Register(ContentSettingsType::PROTECTED_MEDIA_IDENTIFIER,
- "protected-media-identifier", CONTENT_SETTING_ALLOW,
+ "protected-media-identifier", CONTENT_SETTING_BLOCK,
WebsiteSettingsInfo::UNSYNCABLE, /*allowlisted_schemes=*/{},
#if BUILDFLAG(IS_ANDROID)
/*valid_settings=*/