Index: chrome/browser/ui/website_settings/website_settings.cc |
diff --git a/chrome/browser/ui/website_settings/website_settings.cc b/chrome/browser/ui/website_settings/website_settings.cc |
index 767fc98a18d67e12918414b24a5797d42d90ab39..8d0e188b566377e0bd07a89425b227965c76d275 100644 |
--- a/chrome/browser/ui/website_settings/website_settings.cc |
+++ b/chrome/browser/ui/website_settings/website_settings.cc |
@@ -95,6 +95,7 @@ ContentSettingsType kPermissionType[] = { |
#if defined(OS_ANDROID) |
CONTENT_SETTINGS_TYPE_PUSH_MESSAGING, |
#endif |
+ CONTENT_SETTINGS_TYPE_MEDIA_AUTOPLAY, |
}; |
bool CertificateTransparencyStatusMatch( |
@@ -281,7 +282,8 @@ void WebsiteSettings::OnSitePermissionChanged(ContentSettingsType type, |
type == CONTENT_SETTINGS_TYPE_POPUPS || |
type == CONTENT_SETTINGS_TYPE_MOUSELOCK || |
type == CONTENT_SETTINGS_TYPE_AUTOMATIC_DOWNLOADS || |
- type == CONTENT_SETTINGS_TYPE_PUSH_MESSAGING) { |
+ type == CONTENT_SETTINGS_TYPE_PUSH_MESSAGING || |
+ type == CONTENT_SETTINGS_TYPE_MEDIA_AUTOPLAY) { |
primary_pattern = ContentSettingsPattern::FromURL(site_url_); |
secondary_pattern = ContentSettingsPattern::Wildcard(); |
} else if (type == CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC || |