Index: content/browser/ppapi_plugin_process_host.cc |
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc |
index 4ff33a6bd681f82e7116df658eaebc14194a8c3c..9dd8db1786116209bce25a492f57b0fe7080a71a 100644 |
--- a/content/browser/ppapi_plugin_process_host.cc |
+++ b/content/browser/ppapi_plugin_process_host.cc |
@@ -394,6 +394,13 @@ bool PpapiPluginProcessHost::Init(const PepperPluginInfo& info) { |
: switches::kPpapiPluginProcess); |
cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); |
+#if defined(OS_WIN) |
+ if (GetContentClient()->browser()->ShouldUseWindowsPrefetchArgument()) { |
+ cmd_line->AppendArg(is_broker_ ? switches::kPrefetchArgumentPpapiBroker |
+ : switches::kPrefetchArgumentPpapi); |
+ } |
+#endif // defined(OS_WIN) |
+ |
// These switches are forwarded to both plugin and broker pocesses. |
static const char* kCommonForwardSwitches[] = { |
switches::kVModule |