| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 int32_t /* result */, | 249 int32_t /* result */, |
| 250 IPC::PlatformFileForTransit /* handle */, | 250 IPC::PlatformFileForTransit /* handle */, |
| 251 std::string /* local_addr_as_string */, | 251 std::string /* local_addr_as_string */, |
| 252 std::string /* remote_addr_as_string */) | 252 std::string /* remote_addr_as_string */) |
| 253 | 253 |
| 254 // PPB_Flash_TCPSocket. | 254 // PPB_Flash_TCPSocket. |
| 255 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashTCPSocket_ConnectACK, | 255 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashTCPSocket_ConnectACK, |
| 256 uint32 /* plugin_dispatcher_id */, | 256 uint32 /* plugin_dispatcher_id */, |
| 257 uint32 /* socket_id */, | 257 uint32 /* socket_id */, |
| 258 bool /* succeeded */, | 258 bool /* succeeded */, |
| 259 PP_Flash_NetAddress /* local_addr */, | 259 PP_NetAddress_Private /* local_addr */, |
| 260 PP_Flash_NetAddress /* remote_addr */) | 260 PP_NetAddress_Private /* remote_addr */) |
| 261 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashTCPSocket_SSLHandshakeACK, | 261 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashTCPSocket_SSLHandshakeACK, |
| 262 uint32 /* plugin_dispatcher_id */, | 262 uint32 /* plugin_dispatcher_id */, |
| 263 uint32 /* socket_id */, | 263 uint32 /* socket_id */, |
| 264 bool /* succeeded */) | 264 bool /* succeeded */) |
| 265 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_ReadACK, | 265 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_ReadACK, |
| 266 uint32 /* plugin_dispatcher_id */, | 266 uint32 /* plugin_dispatcher_id */, |
| 267 uint32 /* socket_id */, | 267 uint32 /* socket_id */, |
| 268 bool /* succeeded */, | 268 bool /* succeeded */, |
| 269 std::string /* data */) | 269 std::string /* data */) |
| 270 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_WriteACK, | 270 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_WriteACK, |
| 271 uint32 /* plugin_dispatcher_id */, | 271 uint32 /* plugin_dispatcher_id */, |
| 272 uint32 /* socket_id */, | 272 uint32 /* socket_id */, |
| 273 bool /* succeeded */, | 273 bool /* succeeded */, |
| 274 int32_t /* bytes_written */) | 274 int32_t /* bytes_written */) |
| 275 | 275 |
| 276 // PPB_Flash_UDPSocket | 276 // PPB_Flash_UDPSocket |
| 277 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashUDPSocket_BindACK, | 277 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashUDPSocket_BindACK, |
| 278 uint32 /* plugin_dispatcher_id */, | 278 uint32 /* plugin_dispatcher_id */, |
| 279 uint32 /* socket_id */, | 279 uint32 /* socket_id */, |
| 280 bool /* succeeded */) | 280 bool /* succeeded */) |
| 281 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashUDPSocket_RecvFromACK, | 281 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashUDPSocket_RecvFromACK, |
| 282 uint32 /* plugin_dispatcher_id */, | 282 uint32 /* plugin_dispatcher_id */, |
| 283 uint32 /* socket_id */, | 283 uint32 /* socket_id */, |
| 284 bool /* succeeded */, | 284 bool /* succeeded */, |
| 285 std::string /* data */, | 285 std::string /* data */, |
| 286 PP_Flash_NetAddress /* remote_addr */) | 286 PP_NetAddress_Private /* remote_addr */) |
| 287 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashUDPSocket_SendToACK, | 287 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashUDPSocket_SendToACK, |
| 288 uint32 /* plugin_dispatcher_id */, | 288 uint32 /* plugin_dispatcher_id */, |
| 289 uint32 /* socket_id */, | 289 uint32 /* socket_id */, |
| 290 bool /* succeeded */, | 290 bool /* succeeded */, |
| 291 int32_t /* bytes_written */) | 291 int32_t /* bytes_written */) |
| 292 | 292 |
| 293 // PPB_Graphics2D. | 293 // PPB_Graphics2D. |
| 294 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 294 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
| 295 ppapi::HostResource /* graphics_2d */, | 295 ppapi::HostResource /* graphics_2d */, |
| 296 int32_t /* pp_error */) | 296 int32_t /* pp_error */) |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBFlashTCPSocket_Create, | 741 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBFlashTCPSocket_Create, |
| 742 int32 /* routing_id */, | 742 int32 /* routing_id */, |
| 743 uint32 /* plugin_dispatcher_id */, | 743 uint32 /* plugin_dispatcher_id */, |
| 744 uint32 /* socket_id */) | 744 uint32 /* socket_id */) |
| 745 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashTCPSocket_Connect, | 745 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashTCPSocket_Connect, |
| 746 uint32 /* socket_id */, | 746 uint32 /* socket_id */, |
| 747 std::string /* host */, | 747 std::string /* host */, |
| 748 uint16_t /* port */) | 748 uint16_t /* port */) |
| 749 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_ConnectWithNetAddress, | 749 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_ConnectWithNetAddress, |
| 750 uint32 /* socket_id */, | 750 uint32 /* socket_id */, |
| 751 PP_Flash_NetAddress /* net_addr */) | 751 PP_NetAddress_Private /* net_addr */) |
| 752 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashTCPSocket_SSLHandshake, | 752 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashTCPSocket_SSLHandshake, |
| 753 uint32 /* socket_id */, | 753 uint32 /* socket_id */, |
| 754 std::string /* server_name */, | 754 std::string /* server_name */, |
| 755 uint16_t /* server_port */) | 755 uint16_t /* server_port */) |
| 756 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Read, | 756 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Read, |
| 757 uint32 /* socket_id */, | 757 uint32 /* socket_id */, |
| 758 int32_t /* bytes_to_read */) | 758 int32_t /* bytes_to_read */) |
| 759 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Write, | 759 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Write, |
| 760 uint32 /* socket_id */, | 760 uint32 /* socket_id */, |
| 761 std::string /* data */) | 761 std::string /* data */) |
| 762 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashTCPSocket_Disconnect, | 762 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashTCPSocket_Disconnect, |
| 763 uint32 /* socket_id */) | 763 uint32 /* socket_id */) |
| 764 | 764 |
| 765 // PPB_Flash_UDPSocket | 765 // PPB_Flash_UDPSocket |
| 766 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBFlashUDPSocket_Create, | 766 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBFlashUDPSocket_Create, |
| 767 int32 /* routing_id */, | 767 int32 /* routing_id */, |
| 768 uint32 /* plugin_dispatcher_id */, | 768 uint32 /* plugin_dispatcher_id */, |
| 769 uint32 /* socket_id */) | 769 uint32 /* socket_id */) |
| 770 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashUDPSocket_Bind, | 770 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashUDPSocket_Bind, |
| 771 uint32 /* socket_id */, | 771 uint32 /* socket_id */, |
| 772 PP_Flash_NetAddress /* net_addr */) | 772 PP_NetAddress_Private /* net_addr */) |
| 773 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashUDPSocket_RecvFrom, | 773 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashUDPSocket_RecvFrom, |
| 774 uint32 /* socket_id */, | 774 uint32 /* socket_id */, |
| 775 int32_t /* num_bytes */) | 775 int32_t /* num_bytes */) |
| 776 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashUDPSocket_SendTo, | 776 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashUDPSocket_SendTo, |
| 777 uint32 /* socket_id */, | 777 uint32 /* socket_id */, |
| 778 std::string /* data */, | 778 std::string /* data */, |
| 779 PP_Flash_NetAddress /* net_addr */) | 779 PP_NetAddress_Private /* net_addr */) |
| 780 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashUDPSocket_Close, | 780 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashUDPSocket_Close, |
| 781 uint32 /* socket_id */) | 781 uint32 /* socket_id */) |
| 782 | 782 |
| 783 // PPB_Font. | 783 // PPB_Font. |
| 784 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 784 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
| 785 std::string /* result */) | 785 std::string /* result */) |
| 786 | 786 |
| 787 // PPB_Graphics2D. | 787 // PPB_Graphics2D. |
| 788 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, | 788 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, |
| 789 ppapi::HostResource /* graphics_2d */, | 789 ppapi::HostResource /* graphics_2d */, |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1107 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
| 1108 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1108 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
| 1109 ppapi::HostResource /* video_decoder */, | 1109 ppapi::HostResource /* video_decoder */, |
| 1110 int32_t /* picture buffer id */) | 1110 int32_t /* picture buffer id */) |
| 1111 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1111 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
| 1112 ppapi::HostResource /* video_decoder */) | 1112 ppapi::HostResource /* video_decoder */) |
| 1113 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1113 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
| 1114 ppapi::HostResource /* video_decoder */) | 1114 ppapi::HostResource /* video_decoder */) |
| 1115 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1115 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
| 1116 ppapi::HostResource /* video_decoder */) | 1116 ppapi::HostResource /* video_decoder */) |
| OLD | NEW |