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/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
722 PP_Resource /* socket_resource */, | 722 PP_Resource /* socket_resource */, |
723 uint32 /* socket_id */, | 723 uint32 /* socket_id */, |
724 int32_t /* status */) | 724 int32_t /* status */) |
725 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK, | 725 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK, |
726 uint32 /* plugin_dispatcher_id */, | 726 uint32 /* plugin_dispatcher_id */, |
727 uint32 /* server_socket_id */, | 727 uint32 /* server_socket_id */, |
728 uint32 /* accepted_socket_id */, | 728 uint32 /* accepted_socket_id */, |
729 PP_NetAddress_Private /* local_addr */, | 729 PP_NetAddress_Private /* local_addr */, |
730 PP_NetAddress_Private /* remote_addr */) | 730 PP_NetAddress_Private /* remote_addr */) |
731 | 731 |
732 // PPB_HostResolver_Private. | |
733 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBHostResolver_ResolveACK, | |
734 uint32 /* plugin_dispatcher_id */, | |
735 uint32 /* host_resolver_id */, | |
736 bool /* succeeded */, | |
737 std::string /* canonical_name */, | |
738 std::vector<PP_NetAddress_Private> /* net_address_list */) | |
739 | |
740 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 732 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
741 // PPP_Instance_Private. | 733 // PPP_Instance_Private. |
742 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstancePrivate_GetInstanceObject, | 734 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiMsg_PPPInstancePrivate_GetInstanceObject, |
743 PP_Instance /* instance */, | 735 PP_Instance /* instance */, |
744 ppapi::proxy::SerializedVar /* result */) | 736 ppapi::proxy::SerializedVar /* result */) |
745 | 737 |
746 // PPB_VideoDecoder_Dev. | 738 // PPB_VideoDecoder_Dev. |
747 // (Messages from renderer to plugin to notify it to run callbacks.) | 739 // (Messages from renderer to plugin to notify it to run callbacks.) |
748 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBVideoDecoder_EndOfBitstreamACK, | 740 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBVideoDecoder_EndOfBitstreamACK, |
749 ppapi::HostResource /* video_decoder */, | 741 ppapi::HostResource /* video_decoder */, |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1179 PP_Resource /* audio_frames, PPB_Buffer_Dev */, | 1171 PP_Resource /* audio_frames, PPB_Buffer_Dev */, |
1180 std::string /* serialized_block_info */) | 1172 std::string /* serialized_block_info */) |
1181 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1173 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
1182 | 1174 |
1183 // PPB_NetworkMonitor_Private. | 1175 // PPB_NetworkMonitor_Private. |
1184 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, | 1176 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, |
1185 uint32 /* plugin_dispatcher_id */) | 1177 uint32 /* plugin_dispatcher_id */) |
1186 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop, | 1178 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop, |
1187 uint32 /* plugin_dispatcher_id */) | 1179 uint32 /* plugin_dispatcher_id */) |
1188 | 1180 |
1189 // PPB_HostResolver_Private. | 1181 // HostResolverPrivate. |
yzshen1
2012/12/20 20:00:20
There is a section called "Resource call/reply mes
ygorshenin1
2012/12/21 12:53:26
Done.
| |
1190 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve, | 1182 IPC_MESSAGE_CONTROL0(PpapiHostMsg_HostResolverPrivate_Create) |
1191 int32 /* routing_id */, | 1183 IPC_MESSAGE_CONTROL2(PpapiHostMsg_HostResolverPrivate_Resolve, |
1192 uint32 /* plugin_dispatcher_id */, | |
1193 uint32 /* host_resolver_id */, | |
1194 ppapi::HostPortPair /* host_port */, | 1184 ppapi::HostPortPair /* host_port */, |
1195 PP_HostResolver_Private_Hint /* hint */) | 1185 PP_HostResolver_Private_Hint /* hint */) |
1186 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_HostResolverPrivate_ResolveReply, | |
1187 bool /* succeeded */, | |
yzshen1
2012/12/20 20:00:20
You could use the 'result' field in ResourceMessag
ygorshenin1
2012/12/21 12:53:26
Done.
| |
1188 std::string /* canonical_name */, | |
1189 std::vector<PP_NetAddress_Private> /* net_address_list */) | |
1196 | 1190 |
1197 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 1191 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
1198 // PPB_PDF | 1192 // PPB_PDF |
1199 IPC_SYNC_MESSAGE_ROUTED3_1( | 1193 IPC_SYNC_MESSAGE_ROUTED3_1( |
1200 PpapiHostMsg_PPBPDF_GetFontFileWithFallback, | 1194 PpapiHostMsg_PPBPDF_GetFontFileWithFallback, |
1201 PP_Instance /* instance */, | 1195 PP_Instance /* instance */, |
1202 ppapi::proxy::SerializedFontDescription /* description */, | 1196 ppapi::proxy::SerializedFontDescription /* description */, |
1203 int32_t /* charset */, | 1197 int32_t /* charset */, |
1204 ppapi::HostResource /* result */) | 1198 ppapi::HostResource /* result */) |
1205 IPC_SYNC_MESSAGE_ROUTED2_1( | 1199 IPC_SYNC_MESSAGE_ROUTED2_1( |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1723 std::vector<ppapi::HostResource> /* buffers */, | 1717 std::vector<ppapi::HostResource> /* buffers */, |
1724 uint32_t /* buffer_size */) | 1718 uint32_t /* buffer_size */) |
1725 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1719 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1726 uint32_t /* status */) | 1720 uint32_t /* status */) |
1727 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1721 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1728 uint32_t /* error */) | 1722 uint32_t /* error */) |
1729 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1723 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1730 uint32_t /* buffer */) | 1724 uint32_t /* buffer */) |
1731 | 1725 |
1732 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1726 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |