summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_process_host.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-31 22:24:19 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-31 22:24:19 +0000
commitd55cf42e42e747455e73438b154902701565a5ee (patch)
treefb2e62e903a575a7dd800e7bf8718159c0eb3984 /content/browser/plugin_process_host.cc
parent0e78562b69068ac0b749d051a6280e219f8e5d8e (diff)
downloadchromium_src-d55cf42e42e747455e73438b154902701565a5ee.zip
chromium_src-d55cf42e42e747455e73438b154902701565a5ee.tar.gz
chromium_src-d55cf42e42e747455e73438b154902701565a5ee.tar.bz2
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
Diffstat (limited to 'content/browser/plugin_process_host.cc')
-rw-r--r--content/browser/plugin_process_host.cc15
1 files changed, 8 insertions, 7 deletions
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,