OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Defines messages between the browser and NaCl process. | 5 // Defines messages between the browser and NaCl process. |
6 | 6 |
7 // Multiply-included message file, no traditional include guard. | 7 // Multiply-included message file, no traditional include guard. |
8 #include "base/process/process.h" | 8 #include "base/process/process.h" |
9 #include "components/nacl/common/nacl_types.h" | 9 #include "components/nacl/common/nacl_types.h" |
10 #include "ipc/ipc_channel_handle.h" | 10 #include "ipc/ipc_channel_handle.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // from the browser, including the file's path as well as a fresh version of the | 84 // from the browser, including the file's path as well as a fresh version of the |
85 // file handle. | 85 // file handle. |
86 IPC_SYNC_MESSAGE_CONTROL2_2(NaClProcessMsg_ResolveFileToken, | 86 IPC_SYNC_MESSAGE_CONTROL2_2(NaClProcessMsg_ResolveFileToken, |
87 uint64, /* file_token_lo */ | 87 uint64, /* file_token_lo */ |
88 uint64, /* file_token_hi */ | 88 uint64, /* file_token_hi */ |
89 IPC::PlatformFileForTransit, /* fd */ | 89 IPC::PlatformFileForTransit, /* fd */ |
90 base::FilePath /* Path opened to get fd */) | 90 base::FilePath /* Path opened to get fd */) |
91 | 91 |
92 // Notify the browser process that the server side of the PPAPI channel was | 92 // Notify the browser process that the server side of the PPAPI channel was |
93 // created successfully. | 93 // created successfully. |
94 IPC_MESSAGE_CONTROL1(NaClProcessHostMsg_PpapiChannelCreated, | 94 IPC_MESSAGE_CONTROL2(NaClProcessHostMsg_PpapiChannelCreated, |
95 IPC::ChannelHandle /* channel_handle */) | 95 IPC::ChannelHandle /* browser_channel_handle */, |
| 96 IPC::ChannelHandle /* renderer_channel_handle */) |
OLD | NEW |