Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 8036036: Add Pepper API to use UDP (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_flash_udp_socket_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 std::string /* data */) 259 std::string /* data */)
260 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_WriteACK, 260 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_WriteACK,
261 uint32 /* plugin_dispatcher_id */, 261 uint32 /* plugin_dispatcher_id */,
262 uint32 /* socket_id */, 262 uint32 /* socket_id */,
263 bool /* succeeded */, 263 bool /* succeeded */,
264 int32_t /* bytes_written */) 264 int32_t /* bytes_written */)
265 265
266 // PPB_Flash_UDPSocket
267 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashUDPSocket_BindACK,
268 uint32 /* plugin_dispatcher_id */,
269 uint32 /* socket_id */,
270 bool /* succeeded */)
271 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashUDPSocket_RecvFromACK,
272 uint32 /* plugin_dispatcher_id */,
273 uint32 /* socket_id */,
274 bool /* succeeded */,
275 std::string /* data */,
276 PP_Flash_NetAddress /* remote_addr */)
277 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashUDPSocket_SendToACK,
278 uint32 /* plugin_dispatcher_id */,
279 uint32 /* socket_id */,
280 bool /* succeeded */,
281 int32_t /* bytes_written */)
282
266 // PPB_Graphics2D. 283 // PPB_Graphics2D.
267 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, 284 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK,
268 ppapi::HostResource /* graphics_2d */, 285 ppapi::HostResource /* graphics_2d */,
269 int32_t /* pp_error */) 286 int32_t /* pp_error */)
270 287
271 // PPB_Graphics3D. 288 // PPB_Graphics3D.
272 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, 289 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK,
273 ppapi::HostResource /* graphics_3d */, 290 ppapi::HostResource /* graphics_3d */,
274 int32_t /* pp_error */) 291 int32_t /* pp_error */)
275 292
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 uint16_t /* server_port */) 739 uint16_t /* server_port */)
723 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Read, 740 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Read,
724 uint32 /* socket_id */, 741 uint32 /* socket_id */,
725 int32_t /* bytes_to_read */) 742 int32_t /* bytes_to_read */)
726 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Write, 743 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Write,
727 uint32 /* socket_id */, 744 uint32 /* socket_id */,
728 std::string /* data */) 745 std::string /* data */)
729 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashTCPSocket_Disconnect, 746 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashTCPSocket_Disconnect,
730 uint32 /* socket_id */) 747 uint32 /* socket_id */)
731 748
749 // PPB_Flash_UDPSocket
750 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBFlashUDPSocket_Create,
751 int32 /* routing_id */,
752 uint32 /* plugin_dispatcher_id */,
753 uint32 /* socket_id */)
754 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashUDPSocket_Bind,
755 uint32 /* socket_id */,
756 PP_Flash_NetAddress /* net_addr */)
757 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashUDPSocket_RecvFrom,
758 uint32 /* socket_id */,
759 int32_t /* num_bytes */)
760 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashUDPSocket_SendTo,
761 uint32 /* socket_id */,
762 std::string /* data */,
763 PP_Flash_NetAddress /* net_addr */)
764 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashUDPSocket_Close,
765 uint32 /* socket_id */)
766
732 // PPB_Font. 767 // PPB_Font.
733 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 768 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
734 std::string /* result */) 769 std::string /* result */)
735 770
736 // PPB_Graphics2D. 771 // PPB_Graphics2D.
737 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, 772 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData,
738 ppapi::HostResource /* graphics_2d */, 773 ppapi::HostResource /* graphics_2d */,
739 ppapi::HostResource /* image_data */, 774 ppapi::HostResource /* image_data */,
740 PP_Point /* top_left */, 775 PP_Point /* top_left */,
741 bool /* src_rect_specified */, 776 bool /* src_rect_specified */,
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1075 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1041 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1076 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1042 ppapi::HostResource /* video_decoder */, 1077 ppapi::HostResource /* video_decoder */,
1043 int32_t /* picture buffer id */) 1078 int32_t /* picture buffer id */)
1044 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1079 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1045 ppapi::HostResource /* video_decoder */) 1080 ppapi::HostResource /* video_decoder */)
1046 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1081 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1047 ppapi::HostResource /* video_decoder */) 1082 ppapi::HostResource /* video_decoder */)
1048 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1083 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1049 ppapi::HostResource /* video_decoder */) 1084 ppapi::HostResource /* video_decoder */)
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_flash_udp_socket_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698