Index: components/nacl/loader/nacl_listener.cc |
diff --git a/components/nacl/loader/nacl_listener.cc b/components/nacl/loader/nacl_listener.cc |
index 433d9417d2abd291e532156de13b676ba6c57a4c..ec9908cf5bd35d4c266fc18442f08f46528879e8 100644 |
--- a/components/nacl/loader/nacl_listener.cc |
+++ b/components/nacl/loader/nacl_listener.cc |
@@ -289,10 +289,12 @@ void NaClListener::OnStart(const nacl::NaClStartParams& params) { |
IPC::ChannelHandle browser_handle; |
IPC::ChannelHandle ppapi_renderer_handle; |
+ IPC::ChannelHandle manifest_service_handle; |
if (params.enable_ipc_proxy) { |
browser_handle = IPC::Channel::GenerateVerifiedChannelID("nacl"); |
ppapi_renderer_handle = IPC::Channel::GenerateVerifiedChannelID("nacl"); |
+ manifest_service_handle = IPC::Channel::GenerateVerifiedChannelID("nacl"); |
// Create the PPAPI IPC channels between the NaCl IRT and the host |
// (browser/renderer) processes. The IRT uses these channels to |
@@ -301,13 +303,15 @@ void NaClListener::OnStart(const nacl::NaClStartParams& params) { |
nap, NACL_CHROME_DESC_BASE); |
SetUpIPCAdapter(&ppapi_renderer_handle, io_thread_.message_loop_proxy(), |
nap, NACL_CHROME_DESC_BASE + 1); |
+ SetUpIPCAdapter(&manifest_service_handle, io_thread_.message_loop_proxy(), |
+ nap, NACL_CHROME_DESC_BASE + 2); |
} |
IPC::ChannelHandle trusted_renderer_handle = CreateTrustedListener( |
io_thread_.message_loop_proxy(), &shutdown_event_); |
if (!Send(new NaClProcessHostMsg_PpapiChannelsCreated( |
browser_handle, ppapi_renderer_handle, |
- trusted_renderer_handle, IPC::ChannelHandle()))) |
+ trusted_renderer_handle, manifest_service_handle))) |
LOG(ERROR) << "Failed to send IPC channel handle to NaClProcessHost."; |
std::vector<nacl::FileDescriptor> handles = params.handles; |