| Index: components/nacl/loader/nacl_listener.cc
|
| diff --git a/components/nacl/loader/nacl_listener.cc b/components/nacl/loader/nacl_listener.cc
|
| index 18588bd6131001a91c9e0852f18c77963015665f..3ed003138eb4a24221a6f3778f73f5eebe3d77e4 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;
|
|
|