Commit 71bce333 authored by Tommy C. Li's avatar Tommy C. Li Committed by Commit Bot

[HBD] Remove the "Run all Flash in Allow mode" feature.

We've already removed access to this feature from chrome://flags.

This just removes the now-dead implementing code.

Bug: 709550
Change-Id: I21cd2516874722525c2ddab4a2ab0840e46d38c4
Reviewed-on: https://chromium-review.googlesource.com/580363Reviewed-by: default avatarBernhard Bauer <bauerb@chromium.org>
Commit-Queue: Tommy Li <tommycli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488683}
parent 9dda2de4
......@@ -387,8 +387,7 @@ void PluginInfoMessageFilter::Context::DecidePluginStatus(
if (plugin_setting == CONTENT_SETTING_DETECT_IMPORTANT_CONTENT ||
(plugin_setting == CONTENT_SETTING_ALLOW &&
PluginUtils::ShouldPreferHtmlOverPlugins(host_content_settings_map_) &&
!base::FeatureList::IsEnabled(features::kRunAllFlashInAllowMode))) {
PluginUtils::ShouldPreferHtmlOverPlugins(host_content_settings_map_))) {
*status = ChromeViewHostMsg_GetPluginInfo_Status::kPlayImportantContent;
} else if (plugin_setting == CONTENT_SETTING_BLOCK) {
// For managed users with the ASK policy, we allow manually running plugins
......
......@@ -343,12 +343,6 @@ const base::Feature kRuntimeMemoryLeakDetector{
"RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT};
#endif // defined(OS_CHROMEOS)
#if BUILDFLAG(ENABLE_PLUGINS)
// Disables Plugin Power Saver when Flash is in ALLOW mode.
const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode",
base::FEATURE_DISABLED_BY_DEFAULT};
#endif
const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting",
base::FEATURE_DISABLED_BY_DEFAULT};
......
......@@ -175,10 +175,6 @@ extern const base::Feature kPushMessagingBackgroundMode;
extern const base::Feature kRuntimeMemoryLeakDetector;
#endif // defined(OS_CHROMEOS)
#if BUILDFLAG(ENABLE_PLUGINS)
extern const base::Feature kRunAllFlashInAllowMode;
#endif
extern const base::Feature kSafeSearchUrlReporting;
extern const base::Feature kSimplifiedFullscreenUI;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment