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

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

Issue 1051243002: Non-SFI: move socketpair() from plugin process to browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
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 "components/nacl/common/nacl_types_param_traits.h" 10 #include "components/nacl/common/nacl_types_param_traits.h"
(...skipping 10 matching lines...) Expand all
21 IPC_STRUCT_TRAITS_MEMBER(handles) 21 IPC_STRUCT_TRAITS_MEMBER(handles)
22 IPC_STRUCT_TRAITS_MEMBER(debug_stub_server_bound_socket) 22 IPC_STRUCT_TRAITS_MEMBER(debug_stub_server_bound_socket)
23 IPC_STRUCT_TRAITS_MEMBER(validation_cache_enabled) 23 IPC_STRUCT_TRAITS_MEMBER(validation_cache_enabled)
24 IPC_STRUCT_TRAITS_MEMBER(validation_cache_key) 24 IPC_STRUCT_TRAITS_MEMBER(validation_cache_key)
25 IPC_STRUCT_TRAITS_MEMBER(version) 25 IPC_STRUCT_TRAITS_MEMBER(version)
26 IPC_STRUCT_TRAITS_MEMBER(enable_debug_stub) 26 IPC_STRUCT_TRAITS_MEMBER(enable_debug_stub)
27 IPC_STRUCT_TRAITS_MEMBER(enable_ipc_proxy) 27 IPC_STRUCT_TRAITS_MEMBER(enable_ipc_proxy)
28 IPC_STRUCT_TRAITS_MEMBER(enable_mojo) 28 IPC_STRUCT_TRAITS_MEMBER(enable_mojo)
29 IPC_STRUCT_TRAITS_MEMBER(process_type) 29 IPC_STRUCT_TRAITS_MEMBER(process_type)
30 IPC_STRUCT_TRAITS_MEMBER(crash_info_shmem_handle) 30 IPC_STRUCT_TRAITS_MEMBER(crash_info_shmem_handle)
31 IPC_STRUCT_TRAITS_MEMBER(browser_server_ppapi_fd)
32 IPC_STRUCT_TRAITS_MEMBER(browser_client_ppapi_fd)
33 IPC_STRUCT_TRAITS_MEMBER(renderer_server_ppapi_fd)
34 IPC_STRUCT_TRAITS_MEMBER(renderer_client_ppapi_fd)
35 IPC_STRUCT_TRAITS_MEMBER(manifest_service_server_fd)
36 IPC_STRUCT_TRAITS_MEMBER(manifest_service_client_fd)
37 IPC_STRUCT_TRAITS_MEMBER(trusted_channel_server_fd)
38 IPC_STRUCT_TRAITS_MEMBER(trusted_channel_client_fd)
31 IPC_STRUCT_TRAITS_END() 39 IPC_STRUCT_TRAITS_END()
32 40
33 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClResourceFileInfo) 41 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClResourceFileInfo)
34 IPC_STRUCT_TRAITS_MEMBER(file) 42 IPC_STRUCT_TRAITS_MEMBER(file)
35 IPC_STRUCT_TRAITS_MEMBER(file_path_metadata) 43 IPC_STRUCT_TRAITS_MEMBER(file_path_metadata)
36 IPC_STRUCT_TRAITS_MEMBER(file_key) 44 IPC_STRUCT_TRAITS_MEMBER(file_key)
37 IPC_STRUCT_TRAITS_END() 45 IPC_STRUCT_TRAITS_END()
38 46
39 //----------------------------------------------------------------------------- 47 //-----------------------------------------------------------------------------
40 // NaClProcess messages 48 // NaClProcess messages
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 IPC::PlatformFileForTransit, /* fd */ 114 IPC::PlatformFileForTransit, /* fd */
107 base::FilePath /* Path opened to get fd */) 115 base::FilePath /* Path opened to get fd */)
108 116
109 // Notify the browser process that the server side of the PPAPI channel was 117 // Notify the browser process that the server side of the PPAPI channel was
110 // created successfully. 118 // created successfully.
111 IPC_MESSAGE_CONTROL4(NaClProcessHostMsg_PpapiChannelsCreated, 119 IPC_MESSAGE_CONTROL4(NaClProcessHostMsg_PpapiChannelsCreated,
112 IPC::ChannelHandle, /* browser_channel_handle */ 120 IPC::ChannelHandle, /* browser_channel_handle */
113 IPC::ChannelHandle, /* ppapi_renderer_channel_handle */ 121 IPC::ChannelHandle, /* ppapi_renderer_channel_handle */
114 IPC::ChannelHandle, /* trusted_renderer_channel_handle */ 122 IPC::ChannelHandle, /* trusted_renderer_channel_handle */
115 IPC::ChannelHandle /* manifest_service_channel_handle */) 123 IPC::ChannelHandle /* manifest_service_channel_handle */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698