21 lines
1.3 KiB
Diff
21 lines
1.3 KiB
Diff
diff --git a/components/content_settings/browser/page_specific_content_settings.cc b/components/content_settings/browser/page_specific_content_settings.cc
|
|
index fe1ef5b9c1c3b067fc91b1b6910ee2c86d4cb8a3..742568ea40b6d7160b08108286b697e039989951 100644
|
|
--- a/components/content_settings/browser/page_specific_content_settings.cc
|
|
+++ b/components/content_settings/browser/page_specific_content_settings.cc
|
|
@@ -417,6 +417,7 @@ bool PageSpecificContentSettings::IsContentBlocked(
|
|
content_type == ContentSettingsType::ADS ||
|
|
content_type == ContentSettingsType::SOUND ||
|
|
content_type == ContentSettingsType::CLIPBOARD_READ_WRITE ||
|
|
+ content_type == ContentSettingsType::AUTOPLAY ||
|
|
content_type == ContentSettingsType::SENSORS ||
|
|
content_type == ContentSettingsType::GEOLOCATION) {
|
|
const auto& it = content_settings_status_.find(content_type);
|
|
@@ -440,6 +441,7 @@ bool PageSpecificContentSettings::IsContentAllowed(
|
|
content_type != ContentSettingsType::PPAPI_BROKER &&
|
|
content_type != ContentSettingsType::MIDI_SYSEX &&
|
|
content_type != ContentSettingsType::CLIPBOARD_READ_WRITE &&
|
|
+ content_type != ContentSettingsType::AUTOPLAY &&
|
|
content_type != ContentSettingsType::SENSORS &&
|
|
content_type != ContentSettingsType::GEOLOCATION) {
|
|
return false;
|