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

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

Issue 9283022: Exposed Listen and Accept methods to plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync. Created 8 years, 10 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
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/proxy/resource_creation_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) 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 uint32 /* socket_id */, 325 uint32 /* socket_id */,
326 bool /* succeeded */, 326 bool /* succeeded */,
327 std::string /* data */, 327 std::string /* data */,
328 PP_NetAddress_Private /* remote_addr */) 328 PP_NetAddress_Private /* remote_addr */)
329 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK, 329 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK,
330 uint32 /* plugin_dispatcher_id */, 330 uint32 /* plugin_dispatcher_id */,
331 uint32 /* socket_id */, 331 uint32 /* socket_id */,
332 bool /* succeeded */, 332 bool /* succeeded */,
333 int32_t /* bytes_written */) 333 int32_t /* bytes_written */)
334 334
335 // PPB_TCPServerSocket_Private.
336
337 // |status| == PP_ERROR_NOSPACE means that the socket table is full
338 // and new socket can't be initialized.
339 // |status| == PP_ERROR_FAILED means that socket is correctly
340 // initialized (if needed) but Listen call is failed.
341 // |status| == PP_OK means that socket is correctly initialized (if
342 // needed) and Listen call succeeds.
343 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPServerSocket_ListenACK,
344 uint32 /* plugin_dispatcher_id */,
345 uint32 /* real_socket_id */,
346 uint32 /* temp_socket_id */,
347 int32_t /* status */)
348 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK,
349 uint32 /* plugin_dispatcher_id */,
350 uint32 /* real_server_socket_id */,
351 uint32 /* accepted_socket_id */,
352 PP_NetAddress_Private /* local_addr */,
353 PP_NetAddress_Private /* remote_addr */)
354
335 // PPB_Graphics2D. 355 // PPB_Graphics2D.
336 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK, 356 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK,
337 ppapi::HostResource /* graphics_2d */, 357 ppapi::HostResource /* graphics_2d */,
338 int32_t /* pp_error */) 358 int32_t /* pp_error */)
339 359
340 // PPB_Graphics3D. 360 // PPB_Graphics3D.
341 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, 361 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK,
342 ppapi::HostResource /* graphics_3d */, 362 ppapi::HostResource /* graphics_3d */,
343 int32_t /* pp_error */) 363 int32_t /* pp_error */)
344 364
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, 862 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom,
843 uint32 /* socket_id */, 863 uint32 /* socket_id */,
844 int32_t /* num_bytes */) 864 int32_t /* num_bytes */)
845 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo, 865 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo,
846 uint32 /* socket_id */, 866 uint32 /* socket_id */,
847 std::string /* data */, 867 std::string /* data */,
848 PP_NetAddress_Private /* net_addr */) 868 PP_NetAddress_Private /* net_addr */)
849 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, 869 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close,
850 uint32 /* socket_id */) 870 uint32 /* socket_id */)
851 871
872 // PPB_TCPServerSocket_Private.
873 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen,
874 int32 /* routing_id */,
875 uint32 /* plugin_dispatcher_id */,
876 uint32 /* temp_socket_id */,
877 PP_NetAddress_Private /* addr */,
878 int32_t /* backlog */)
879 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept,
880 uint32 /* real_socket_id */)
881 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy,
882 uint32 /* real_socket_id */)
883
884 // PPB_Font.
885 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
886 std::string /* result */)
887
852 // PPB_Graphics2D. 888 // PPB_Graphics2D.
853 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, 889 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create,
854 PP_Instance /* instance */, 890 PP_Instance /* instance */,
855 PP_Size /* size */, 891 PP_Size /* size */,
856 PP_Bool /* is_always_opaque */, 892 PP_Bool /* is_always_opaque */,
857 ppapi::HostResource /* result */) 893 ppapi::HostResource /* result */)
858 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData, 894 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBGraphics2D_PaintImageData,
859 ppapi::HostResource /* graphics_2d */, 895 ppapi::HostResource /* graphics_2d */,
860 ppapi::HostResource /* image_data */, 896 ppapi::HostResource /* image_data */,
861 PP_Point /* top_left */, 897 PP_Point /* top_left */,
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1208 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1173 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1209 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1174 ppapi::HostResource /* video_decoder */, 1210 ppapi::HostResource /* video_decoder */,
1175 int32_t /* picture buffer id */) 1211 int32_t /* picture buffer id */)
1176 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1212 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1177 ppapi::HostResource /* video_decoder */) 1213 ppapi::HostResource /* video_decoder */)
1178 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1214 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1179 ppapi::HostResource /* video_decoder */) 1215 ppapi::HostResource /* video_decoder */)
1180 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1216 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1181 ppapi::HostResource /* video_decoder */) 1217 ppapi::HostResource /* video_decoder */)
OLDNEW
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698