LeOSium_old/patches/0001-Vanadium/0028-block-playing-protecte...

23 lines
1.1 KiB
Diff

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 c7a23d2e5ff72..7a2c634ebb4a3 100644
--- a/components/content_settings/core/browser/content_settings_registry.cc
+++ b/components/content_settings/core/browser/content_settings_registry.cc
@@ -200,7 +200,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=*/