| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 2a8495aa37f96841351f0e02190f21ef21e084de..0b8c4d4158ef995506ae5c93a068cea97522482b 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -656,7 +656,7 @@ float GetDeviceScaleAdjustment() {
|
| #endif // defined(OS_ANDROID)
|
|
|
| #if defined(ENABLE_EXTENSIONS)
|
| -// By default, JavaScript and images are enabled in guest content.
|
| +// By default, JavaScript, images and autoplay are enabled in guest content.
|
| void GetGuestViewDefaultContentSettingRules(
|
| bool incognito,
|
| RendererContentSettingRules* rules) {
|
| @@ -673,6 +673,12 @@ void GetGuestViewDefaultContentSettingRules(
|
| CONTENT_SETTING_ALLOW,
|
| std::string(),
|
| incognito));
|
| + rules->autoplay_rules.push_back(
|
| + ContentSettingPatternSource(ContentSettingsPattern::Wildcard(),
|
| + ContentSettingsPattern::Wildcard(),
|
| + CONTENT_SETTING_ALLOW,
|
| + std::string(),
|
| + incognito));
|
| }
|
| #endif // defined(ENABLE_EXTENSIONS)
|
|
|
|
|