| 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 | 8 | 
| 9 #include <stdint.h> | 9 #include <stdint.h> | 
| 10 | 10 | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
| 23   IPC_STRUCT_TRAITS_MEMBER(nexe_file_path_metadata) | 23   IPC_STRUCT_TRAITS_MEMBER(nexe_file_path_metadata) | 
| 24   IPC_STRUCT_TRAITS_MEMBER(irt_handle) | 24   IPC_STRUCT_TRAITS_MEMBER(irt_handle) | 
| 25 #if defined(OS_POSIX) | 25 #if defined(OS_POSIX) | 
| 26   IPC_STRUCT_TRAITS_MEMBER(debug_stub_server_bound_socket) | 26   IPC_STRUCT_TRAITS_MEMBER(debug_stub_server_bound_socket) | 
| 27 #endif | 27 #endif | 
| 28 #if defined(OS_LINUX) || defined(OS_NACL_NONSFI) | 28 #if defined(OS_LINUX) || defined(OS_NACL_NONSFI) | 
| 29   IPC_STRUCT_TRAITS_MEMBER(ppapi_browser_channel_handle) | 29   IPC_STRUCT_TRAITS_MEMBER(ppapi_browser_channel_handle) | 
| 30   IPC_STRUCT_TRAITS_MEMBER(ppapi_renderer_channel_handle) | 30   IPC_STRUCT_TRAITS_MEMBER(ppapi_renderer_channel_handle) | 
| 31   IPC_STRUCT_TRAITS_MEMBER(trusted_service_channel_handle) | 31   IPC_STRUCT_TRAITS_MEMBER(trusted_service_channel_handle) | 
| 32   IPC_STRUCT_TRAITS_MEMBER(manifest_service_channel_handle) | 32   IPC_STRUCT_TRAITS_MEMBER(manifest_service_channel_handle) | 
|  | 33   IPC_STRUCT_TRAITS_MEMBER(ppapi_browser_mojo_handle) | 
| 33 #endif | 34 #endif | 
| 34   IPC_STRUCT_TRAITS_MEMBER(validation_cache_enabled) | 35   IPC_STRUCT_TRAITS_MEMBER(validation_cache_enabled) | 
| 35   IPC_STRUCT_TRAITS_MEMBER(validation_cache_key) | 36   IPC_STRUCT_TRAITS_MEMBER(validation_cache_key) | 
| 36   IPC_STRUCT_TRAITS_MEMBER(version) | 37   IPC_STRUCT_TRAITS_MEMBER(version) | 
| 37   IPC_STRUCT_TRAITS_MEMBER(enable_debug_stub) | 38   IPC_STRUCT_TRAITS_MEMBER(enable_debug_stub) | 
| 38   IPC_STRUCT_TRAITS_MEMBER(process_type) | 39   IPC_STRUCT_TRAITS_MEMBER(process_type) | 
| 39   IPC_STRUCT_TRAITS_MEMBER(crash_info_shmem_handle) | 40   IPC_STRUCT_TRAITS_MEMBER(crash_info_shmem_handle) | 
| 40 IPC_STRUCT_TRAITS_END() | 41 IPC_STRUCT_TRAITS_END() | 
| 41 | 42 | 
| 42 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClResourcePrefetchResult) | 43 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClResourcePrefetchResult) | 
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 124 | 125 | 
| 125 // Notify the browser process that the server side of the PPAPI channel was | 126 // Notify the browser process that the server side of the PPAPI channel was | 
| 126 // created successfully. | 127 // created successfully. | 
| 127 // This is used for SFI mode only. Non-SFI mode passes channel handles in | 128 // This is used for SFI mode only. Non-SFI mode passes channel handles in | 
| 128 // NaClStartParams instead. | 129 // NaClStartParams instead. | 
| 129 IPC_MESSAGE_CONTROL4(NaClProcessHostMsg_PpapiChannelsCreated, | 130 IPC_MESSAGE_CONTROL4(NaClProcessHostMsg_PpapiChannelsCreated, | 
| 130                      IPC::ChannelHandle, /* browser_channel_handle */ | 131                      IPC::ChannelHandle, /* browser_channel_handle */ | 
| 131                      IPC::ChannelHandle, /* ppapi_renderer_channel_handle */ | 132                      IPC::ChannelHandle, /* ppapi_renderer_channel_handle */ | 
| 132                      IPC::ChannelHandle, /* trusted_renderer_channel_handle */ | 133                      IPC::ChannelHandle, /* trusted_renderer_channel_handle */ | 
| 133                      IPC::ChannelHandle /* manifest_service_channel_handle */) | 134                      IPC::ChannelHandle /* manifest_service_channel_handle */) | 
| OLD | NEW | 
|---|