From d55cf42e42e747455e73438b154902701565a5ee Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Mon, 31 Mar 2014 22:24:19 +0000 Subject: Make http range requests by plugins also go directly to the browser process instead of going through the renderers. BUG=286074 R=ananta@chromium.org Review URL: https://codereview.chromium.org/217593003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260678 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/plugin_process_host.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'content/browser/plugin_process_host.cc') diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc index 8aa69dd..b6d54b9 100644 --- a/content/browser/plugin_process_host.cc +++ b/content/browser/plugin_process_host.cc @@ -205,15 +205,9 @@ bool PluginProcessHost::Init(const WebPluginInfo& info) { // any associated values) if present in the browser command line static const char* const kSwitchNames[] = { switches::kDisableBreakpad, -#if defined(OS_MACOSX) - switches::kDisableCoreAnimationPlugins, - switches::kEnableSandboxLogging, -#endif + switches::kDisableDirectNPAPIRequests, switches::kEnableStatsTable, switches::kFullMemoryCrashReport, -#if defined(OS_WIN) - switches::kHighDPISupport, -#endif switches::kLoggingLevel, switches::kLogPluginMessages, switches::kNoSandbox, @@ -221,6 +215,13 @@ bool PluginProcessHost::Init(const WebPluginInfo& info) { switches::kTestSandbox, switches::kTraceStartup, switches::kUseGL, +#if defined(OS_MACOSX) + switches::kDisableCoreAnimationPlugins, + switches::kEnableSandboxLogging, +#endif +#if defined(OS_WIN) + switches::kHighDPISupport, +#endif }; cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, -- cgit v1.1