Commit 33e1a450 authored by mohan.reddy's avatar mohan.reddy Committed by Commit bot

Remove command line flag --disable-plugins

BUG=366349

Review URL: https://codereview.chromium.org/829133009

Cr-Commit-Position: refs/heads/master@{#311475}
parent 3fb373cb
...@@ -93,7 +93,6 @@ DefaultCommandLineSwitch g_default_switches[] = { ...@@ -93,7 +93,6 @@ DefaultCommandLineSwitch g_default_switches[] = {
{ switches::kDisableGestureRequirementForMediaPlayback, ""}, { switches::kDisableGestureRequirementForMediaPlayback, ""},
{ switches::kForceUseOverlayEmbeddedVideo, ""}, { switches::kForceUseOverlayEmbeddedVideo, ""},
#endif #endif
{ switches::kDisablePlugins, "" },
// Always enable HTMLMediaElement logs. // Always enable HTMLMediaElement logs.
{ switches::kBlinkPlatformLogChannels, "Media"}, { switches::kBlinkPlatformLogChannels, "Media"},
#if defined(DISABLE_DISPLAY) #if defined(DISABLE_DISPLAY)
......
...@@ -327,8 +327,6 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs(const GURL& url) { ...@@ -327,8 +327,6 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs(const GURL& url) {
prefs.web_security_enabled = prefs.web_security_enabled =
!command_line.HasSwitch(switches::kDisableWebSecurity); !command_line.HasSwitch(switches::kDisableWebSecurity);
prefs.plugins_enabled =
!command_line.HasSwitch(switches::kDisablePlugins);
prefs.java_enabled = prefs.java_enabled =
!command_line.HasSwitch(switches::kDisableJava); !command_line.HasSwitch(switches::kDisableJava);
......
...@@ -199,9 +199,6 @@ const char kDisablePepper3d[] = "disable-pepper-3d"; ...@@ -199,9 +199,6 @@ const char kDisablePepper3d[] = "disable-pepper-3d";
// Disables compositor-accelerated touch-screen pinch gestures. // Disables compositor-accelerated touch-screen pinch gestures.
const char kDisablePinch[] = "disable-pinch"; const char kDisablePinch[] = "disable-pinch";
// Prevent plugins from running.
const char kDisablePlugins[] = "disable-plugins";
// Disable discovering third-party plug-ins. Effectively loading only // Disable discovering third-party plug-ins. Effectively loading only
// ones shipped with the browser plus third-party ones as specified by // ones shipped with the browser plus third-party ones as specified by
// --extra-plugin-dir and --load-plugin switches. // --extra-plugin-dir and --load-plugin switches.
......
...@@ -67,7 +67,6 @@ CONTENT_EXPORT extern const char kDisableMediaSource[]; ...@@ -67,7 +67,6 @@ CONTENT_EXPORT extern const char kDisableMediaSource[];
CONTENT_EXPORT extern const char kDisableOneCopy[]; CONTENT_EXPORT extern const char kDisableOneCopy[];
extern const char kDisablePepper3d[]; extern const char kDisablePepper3d[];
CONTENT_EXPORT extern const char kDisablePinch[]; CONTENT_EXPORT extern const char kDisablePinch[];
CONTENT_EXPORT extern const char kDisablePlugins[];
CONTENT_EXPORT extern const char kDisablePluginsDiscovery[]; CONTENT_EXPORT extern const char kDisablePluginsDiscovery[];
extern const char kDisableRemoteFonts[]; extern const char kDisableRemoteFonts[];
extern const char kDisableRendererAccessibility[]; extern const char kDisableRendererAccessibility[];
......
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