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-04-01 05:03:01 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-01 05:03:01 +0000
commitd55d90f2b56a250503ff865d4eb398e538a9384d (patch)
tree3e97a1ec6bdfaba02180b9adb8e994d1e4d6eee4 /content/browser/plugin_process_host.cc
parent6ad6487eb2a02e6657863ff79821a5755ca2139c (diff)
downloadchromium_src-d55d90f2b56a250503ff865d4eb398e538a9384d.zip
chromium_src-d55d90f2b56a250503ff865d4eb398e538a9384d.tar.gz
chromium_src-d55d90f2b56a250503ff865d4eb398e538a9384d.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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260678 Review URL: https://codereview.chromium.org/217593003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260776 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,