| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 uint32 /* socket_id */, | 323 uint32 /* socket_id */, |
| 324 bool /* succeeded */, | 324 bool /* succeeded */, |
| 325 std::string /* data */, | 325 std::string /* data */, |
| 326 PP_NetAddress_Private /* remote_addr */) | 326 PP_NetAddress_Private /* remote_addr */) |
| 327 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK, | 327 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK, |
| 328 uint32 /* plugin_dispatcher_id */, | 328 uint32 /* plugin_dispatcher_id */, |
| 329 uint32 /* socket_id */, | 329 uint32 /* socket_id */, |
| 330 bool /* succeeded */, | 330 bool /* succeeded */, |
| 331 int32_t /* bytes_written */) | 331 int32_t /* bytes_written */) |
| 332 | 332 |
| 333 // PPB_TCPServerSocket_Private. |
| 334 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBTCPServerSocket_ListenACK, |
| 335 uint32 /* plugin_dispatcher_id */, |
| 336 uint32 /* socket_id */, |
| 337 bool /* succeeded */) |
| 338 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK, |
| 339 uint32 /* plugin_dispatcher_id */, |
| 340 uint32 /* socket_id */, |
| 341 uint32 /* tcp_socket_id */, |
| 342 PP_NetAddress_Private /* local_addr */, |
| 343 PP_NetAddress_Private /* remote_addr */) |
| 344 |
| 333 // PPB_Graphics2D. | 345 // PPB_Graphics2D. |
| 334 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 346 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
| 335 ppapi::HostResource /* graphics_2d */, | 347 ppapi::HostResource /* graphics_2d */, |
| 336 int32_t /* pp_error */) | 348 int32_t /* pp_error */) |
| 337 | 349 |
| 338 // PPB_Graphics3D. | 350 // PPB_Graphics3D. |
| 339 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | 351 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, |
| 340 ppapi::HostResource /* graphics_3d */, | 352 ppapi::HostResource /* graphics_3d */, |
| 341 int32_t /* pp_error */) | 353 int32_t /* pp_error */) |
| 342 | 354 |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, | 819 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, |
| 808 uint32 /* socket_id */, | 820 uint32 /* socket_id */, |
| 809 int32_t /* num_bytes */) | 821 int32_t /* num_bytes */) |
| 810 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, | 822 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, |
| 811 uint32 /* socket_id */, | 823 uint32 /* socket_id */, |
| 812 std::string /* data */, | 824 std::string /* data */, |
| 813 PP_NetAddress_Private /* net_addr */) | 825 PP_NetAddress_Private /* net_addr */) |
| 814 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, | 826 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, |
| 815 uint32 /* socket_id */) | 827 uint32 /* socket_id */) |
| 816 | 828 |
| 829 // PPB_TCPServerSocket_Private. |
| 830 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPServerSocket_Create, |
| 831 int32 /* routing_id */, |
| 832 uint32 /* plugin_dispatcher_id */, |
| 833 uint32 /* socket_id */) |
| 834 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPServerSocket_Listen, |
| 835 uint32 /* socket_id */, |
| 836 PP_NetAddress_Private /* addr */, |
| 837 int32_t /* backlog */) |
| 838 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept, |
| 839 uint32 /* socket_id */) |
| 840 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_StopListening, |
| 841 uint32 /* socket_id */) |
| 842 |
| 817 // PPB_Font. | 843 // PPB_Font. |
| 818 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 844 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
| 819 std::string /* result */) | 845 std::string /* result */) |
| 820 | 846 |
| 821 // PPB_Graphics2D. | 847 // PPB_Graphics2D. |
| 822 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, | 848 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, |
| 823 PP_Instance /* instance */, | 849 PP_Instance /* instance */, |
| 824 PP_Size /* size */, | 850 PP_Size /* size */, |
| 825 PP_Bool /* is_always_opaque */, | 851 PP_Bool /* is_always_opaque */, |
| 826 ppapi::HostResource /* result */) | 852 ppapi::HostResource /* result */) |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1129 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1155 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
| 1130 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1156 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
| 1131 ppapi::HostResource /* video_decoder */, | 1157 ppapi::HostResource /* video_decoder */, |
| 1132 int32_t /* picture buffer id */) | 1158 int32_t /* picture buffer id */) |
| 1133 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1159 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
| 1134 ppapi::HostResource /* video_decoder */) | 1160 ppapi::HostResource /* video_decoder */) |
| 1135 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1161 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
| 1136 ppapi::HostResource /* video_decoder */) | 1162 ppapi::HostResource /* video_decoder */) |
| 1137 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1163 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
| 1138 ppapi::HostResource /* video_decoder */) | 1164 ppapi::HostResource /* video_decoder */) |
| OLD | NEW |