Chromium Code Reviews| 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_ROUTED2(PpapiMsg_PPBTCPServerSocket_InitializeACK, | |
| 335 uint32 /* plugin_dispatcher_id */, | |
| 336 uint32 /* tcp_server_socket_id */) | |
| 337 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBTCPServerSocket_ListenACK, | |
| 338 uint32 /* plugin_dispatcher_id */, | |
| 339 uint32 /* socket_id */, | |
| 340 bool /* succeeded */) | |
| 341 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK, | |
| 342 uint32 /* plugin_dispatcher_id */, | |
| 343 uint32 /* socket_id */, | |
| 344 uint32 /* tcp_socket_id */, | |
| 345 PP_NetAddress_Private /* local_addr */, | |
| 346 PP_NetAddress_Private /* remote_addr */) | |
| 347 | |
| 333 // PPB_Graphics2D. | 348 // PPB_Graphics2D. |
| 334 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, | 349 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, |
| 335 ppapi::HostResource /* graphics_2d */, | 350 ppapi::HostResource /* graphics_2d */, |
| 336 int32_t /* pp_error */) | 351 int32_t /* pp_error */) |
| 337 | 352 |
| 338 // PPB_Graphics3D. | 353 // PPB_Graphics3D. |
| 339 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | 354 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, |
| 340 ppapi::HostResource /* graphics_3d */, | 355 ppapi::HostResource /* graphics_3d */, |
| 341 int32_t /* pp_error */) | 356 int32_t /* pp_error */) |
| 342 | 357 |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 824 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, | 839 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, |
| 825 uint32 /* socket_id */, | 840 uint32 /* socket_id */, |
| 826 int32_t /* num_bytes */) | 841 int32_t /* num_bytes */) |
| 827 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, | 842 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, |
| 828 uint32 /* socket_id */, | 843 uint32 /* socket_id */, |
| 829 std::string /* data */, | 844 std::string /* data */, |
| 830 PP_NetAddress_Private /* net_addr */) | 845 PP_NetAddress_Private /* net_addr */) |
| 831 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, | 846 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, |
| 832 uint32 /* socket_id */) | 847 uint32 /* socket_id */) |
| 833 | 848 |
| 849 // PPB_TCPServerSocket_Private. | |
|
yzshen1
2012/02/14 00:42:04
Please keep this comment.
ygorshenin1
2012/02/14 09:34:44
Done.
| |
| 850 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Initialize, | |
| 851 int32 /* routing_id */, | |
| 852 uint32 /* plugin_dispatcher_id */) | |
| 853 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, | |
| 854 uint32 /* socket_id */) | |
| 855 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPServerSocket_Listen, | |
| 856 uint32 /* socket_id */, | |
| 857 PP_NetAddress_Private /* addr */, | |
| 858 int32_t /* backlog */) | |
| 859 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept, | |
| 860 uint32 /* socket_id */) | |
| 861 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_StopListening, | |
| 862 uint32 /* socket_id */) | |
| 863 | |
| 834 // PPB_Font. | 864 // PPB_Font. |
| 835 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 865 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
| 836 std::string /* result */) | 866 std::string /* result */) |
| 837 | 867 |
| 838 // PPB_Graphics2D. | 868 // PPB_Graphics2D. |
| 839 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, | 869 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, |
| 840 PP_Instance /* instance */, | 870 PP_Instance /* instance */, |
| 841 PP_Size /* size */, | 871 PP_Size /* size */, |
| 842 PP_Bool /* is_always_opaque */, | 872 PP_Bool /* is_always_opaque */, |
| 843 ppapi::HostResource /* result */) | 873 ppapi::HostResource /* result */) |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1137 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1167 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
| 1138 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1168 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
| 1139 ppapi::HostResource /* video_decoder */, | 1169 ppapi::HostResource /* video_decoder */, |
| 1140 int32_t /* picture buffer id */) | 1170 int32_t /* picture buffer id */) |
| 1141 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1171 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
| 1142 ppapi::HostResource /* video_decoder */) | 1172 ppapi::HostResource /* video_decoder */) |
| 1143 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1173 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
| 1144 ppapi::HostResource /* video_decoder */) | 1174 ppapi::HostResource /* video_decoder */) |
| 1145 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1175 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
| 1146 ppapi::HostResource /* video_decoder */) | 1176 ppapi::HostResource /* video_decoder */) |
| OLD | NEW |