Index: components/nacl/browser/nacl_process_host.cc |
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc |
index e44df8983c3ffb3b10462746e3eca25fc0ed93d9..2d154f38d986a846756618da10884de75f8dd870 100644 |
--- a/components/nacl/browser/nacl_process_host.cc |
+++ b/components/nacl/browser/nacl_process_host.cc |
@@ -36,6 +36,7 @@ |
#include "content/public/browser/browser_child_process_host.h" |
#include "content/public/browser/browser_ppapi_host.h" |
#include "content/public/browser/child_process_data.h" |
+#include "content/public/browser/plugin_service.h" |
#include "content/public/common/child_process_host.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/process_type.h" |
@@ -802,6 +803,8 @@ void NaClProcessHost::OnPpapiChannelCreated( |
ppapi::PpapiNaClChannelArgs args; |
args.off_the_record = nacl_host_message_filter_->off_the_record(); |
args.permissions = permissions_; |
+ args.supports_dev_channel = |
+ content::PluginService::GetInstance()->PpapiDevChannelSupported(); |
CommandLine* cmdline = CommandLine::ForCurrentProcess(); |
DCHECK(cmdline); |
std::string flag_whitelist[] = {switches::kV, switches::kVModule}; |