OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
676 PP_Instance /* instance */, | 676 PP_Instance /* instance */, |
677 PP_DecryptorStreamType /* decoder_type */, | 677 PP_DecryptorStreamType /* decoder_type */, |
678 uint32_t /* request_id */) | 678 uint32_t /* request_id */) |
679 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_DecryptAndDecode, | 679 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_DecryptAndDecode, |
680 PP_Instance /* instance */, | 680 PP_Instance /* instance */, |
681 PP_DecryptorStreamType /* decoder_type */, | 681 PP_DecryptorStreamType /* decoder_type */, |
682 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, | 682 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, |
683 std::string /* serialized_block_info */) | 683 std::string /* serialized_block_info */) |
684 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 684 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
685 | 685 |
686 // PPB_TCPSocket_Private. | 686 // PPB_TCPSocket and PPB_TCPSocket_Private. |
687 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPSocket_ConnectACK, | 687 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPSocket_ConnectACK, |
688 uint32 /* plugin_dispatcher_id */, | 688 uint32 /* plugin_dispatcher_id */, |
689 uint32 /* socket_id */, | 689 uint32 /* socket_id */, |
690 bool /* succeeded */, | 690 bool /* succeeded */, |
691 PP_NetAddress_Private /* local_addr */, | 691 PP_NetAddress_Private /* local_addr */, |
692 PP_NetAddress_Private /* remote_addr */) | 692 PP_NetAddress_Private /* remote_addr */) |
693 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_SSLHandshakeACK, | 693 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_SSLHandshakeACK, |
694 uint32 /* plugin_dispatcher_id */, | 694 uint32 /* plugin_dispatcher_id */, |
695 uint32 /* socket_id */, | 695 uint32 /* socket_id */, |
696 bool /* succeeded */, | 696 bool /* succeeded */, |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1161 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Create, | 1161 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Create, |
1162 PP_Instance /* instance */, | 1162 PP_Instance /* instance */, |
1163 ppapi::HostResource /* result */) | 1163 ppapi::HostResource /* result */) |
1164 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Run, | 1164 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Run, |
1165 ppapi::HostResource /* flash_message_loop */, | 1165 ppapi::HostResource /* flash_message_loop */, |
1166 int32_t /* result */) | 1166 int32_t /* result */) |
1167 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlashMessageLoop_Quit, | 1167 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlashMessageLoop_Quit, |
1168 ppapi::HostResource /* flash_message_loop */) | 1168 ppapi::HostResource /* flash_message_loop */) |
1169 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1169 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
1170 | 1170 |
1171 // PPB_TCPSocket_Private. | 1171 // PPB_TCPSocket and PPB_TCPSocket_Private. |
1172 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPSocket_Create, | 1172 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPSocket_Create, |
dmichael (off chromium)
2013/06/10 22:31:35
I'm a little concerned about using the same exact
yzshen1
2013/06/11 15:05:48
I agree that we must check permissions at the back
| |
1173 int32 /* routing_id */, | 1173 int32 /* routing_id */, |
1174 uint32 /* plugin_dispatcher_id */, | 1174 uint32 /* plugin_dispatcher_id */, |
1175 uint32 /* socket_id */) | 1175 uint32 /* socket_id */) |
1176 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBTCPSocket_Connect, | 1176 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBTCPSocket_Connect, |
1177 int32 /* routing_id */, | 1177 int32 /* routing_id */, |
1178 uint32 /* socket_id */, | 1178 uint32 /* socket_id */, |
1179 std::string /* host */, | 1179 std::string /* host */, |
1180 uint16_t /* port */) | 1180 uint16_t /* port */) |
1181 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress, | 1181 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress, |
1182 int32 /* routing_id */, | 1182 int32 /* routing_id */, |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1898 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) | 1898 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) |
1899 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) | 1899 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) |
1900 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, | 1900 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, |
1901 ppapi::HostResource /* resource_id */, | 1901 ppapi::HostResource /* resource_id */, |
1902 PP_ImageDataDesc /* image_data_desc */, | 1902 PP_ImageDataDesc /* image_data_desc */, |
1903 int /* fd */, | 1903 int /* fd */, |
1904 PP_TimeTicks /* timestamp */) | 1904 PP_TimeTicks /* timestamp */) |
1905 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) | 1905 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) |
1906 | 1906 |
1907 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1907 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |