Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: components/nacl/common/nacl_messages.h

Issue 177113009: Support non-SFI mode in NaCl manifest file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/nacl/common/nacl_host_messages.h ('k') | components/nacl/common/nacl_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
12 #include "ipc/ipc_platform_file.h" 12 #include "ipc/ipc_platform_file.h"
13 13
14 #define IPC_MESSAGE_START NaClMsgStart 14 #define IPC_MESSAGE_START NaClMsgStart
15 15
16 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClStartParams) 16 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClStartParams)
17 IPC_STRUCT_TRAITS_MEMBER(handles) 17 IPC_STRUCT_TRAITS_MEMBER(handles)
18 IPC_STRUCT_TRAITS_MEMBER(debug_stub_server_bound_socket) 18 IPC_STRUCT_TRAITS_MEMBER(debug_stub_server_bound_socket)
19 IPC_STRUCT_TRAITS_MEMBER(validation_cache_enabled) 19 IPC_STRUCT_TRAITS_MEMBER(validation_cache_enabled)
20 IPC_STRUCT_TRAITS_MEMBER(validation_cache_key) 20 IPC_STRUCT_TRAITS_MEMBER(validation_cache_key)
21 IPC_STRUCT_TRAITS_MEMBER(version) 21 IPC_STRUCT_TRAITS_MEMBER(version)
22 IPC_STRUCT_TRAITS_MEMBER(enable_exception_handling) 22 IPC_STRUCT_TRAITS_MEMBER(enable_exception_handling)
23 IPC_STRUCT_TRAITS_MEMBER(enable_debug_stub) 23 IPC_STRUCT_TRAITS_MEMBER(enable_debug_stub)
24 IPC_STRUCT_TRAITS_MEMBER(enable_ipc_proxy) 24 IPC_STRUCT_TRAITS_MEMBER(enable_ipc_proxy)
25 IPC_STRUCT_TRAITS_MEMBER(uses_irt) 25 IPC_STRUCT_TRAITS_MEMBER(uses_irt)
26 IPC_STRUCT_TRAITS_MEMBER(enable_dyncode_syscalls) 26 IPC_STRUCT_TRAITS_MEMBER(enable_dyncode_syscalls)
27 IPC_STRUCT_TRAITS_MEMBER(enable_nonsfi_mode) 27 IPC_STRUCT_TRAITS_MEMBER(uses_nonsfi_mode)
28 IPC_STRUCT_TRAITS_END() 28 IPC_STRUCT_TRAITS_END()
29 29
30 //----------------------------------------------------------------------------- 30 //-----------------------------------------------------------------------------
31 // NaClProcess messages 31 // NaClProcess messages
32 // These are messages sent between the browser and the NaCl process. 32 // These are messages sent between the browser and the NaCl process.
33 // Tells the NaCl process to start. 33 // Tells the NaCl process to start.
34 IPC_MESSAGE_CONTROL1(NaClProcessMsg_Start, 34 IPC_MESSAGE_CONTROL1(NaClProcessMsg_Start,
35 nacl::NaClStartParams /* params */) 35 nacl::NaClStartParams /* params */)
36 36
37 #if defined(OS_WIN) 37 #if defined(OS_WIN)
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_CONTROL3(NaClProcessHostMsg_PpapiChannelsCreated, 94 IPC_MESSAGE_CONTROL3(NaClProcessHostMsg_PpapiChannelsCreated,
95 IPC::ChannelHandle, /* browser_channel_handle */ 95 IPC::ChannelHandle, /* browser_channel_handle */
96 IPC::ChannelHandle, /* ppapi_renderer_channel_handle */ 96 IPC::ChannelHandle, /* ppapi_renderer_channel_handle */
97 IPC::ChannelHandle /* trusted_renderer_channel_handle */) 97 IPC::ChannelHandle /* trusted_renderer_channel_handle */)
OLDNEW
« no previous file with comments | « components/nacl/common/nacl_host_messages.h ('k') | components/nacl/common/nacl_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698