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

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

Issue 11441012: PPB_UDPSocket_Private is switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: PPB_UDPSocket_Shared is merged to UDPSocketPrivateResource. PepperUDPSocketPrivateShared is merged … Created 7 years, 12 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
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 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 uint32 /* plugin_dispatcher_id */, 673 uint32 /* plugin_dispatcher_id */,
674 uint32 /* socket_id */, 674 uint32 /* socket_id */,
675 bool /* succeeded */, 675 bool /* succeeded */,
676 std::string /* data */) 676 std::string /* data */)
677 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK, 677 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK,
678 uint32 /* plugin_dispatcher_id */, 678 uint32 /* plugin_dispatcher_id */,
679 uint32 /* socket_id */, 679 uint32 /* socket_id */,
680 bool /* succeeded */, 680 bool /* succeeded */,
681 int32_t /* bytes_written */) 681 int32_t /* bytes_written */)
682 682
683 // PPB_UDPSocket_Private.
684 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_BindACK,
685 uint32 /* plugin_dispatcher_id */,
686 uint32 /* socket_id */,
687 bool /* succeeded */,
688 PP_NetAddress_Private /* bound_addr */)
689 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBUDPSocket_RecvFromACK,
690 uint32 /* plugin_dispatcher_id */,
691 uint32 /* socket_id */,
692 bool /* succeeded */,
693 std::string /* data */,
694 PP_NetAddress_Private /* remote_addr */)
695 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK,
696 uint32 /* plugin_dispatcher_id */,
697 uint32 /* socket_id */,
698 bool /* succeeded */,
699 int32_t /* bytes_written */)
700
701 // PPB_URLLoader_Trusted 683 // PPB_URLLoader_Trusted
702 IPC_MESSAGE_ROUTED1( 684 IPC_MESSAGE_ROUTED1(
703 PpapiMsg_PPBURLLoader_UpdateProgress, 685 PpapiMsg_PPBURLLoader_UpdateProgress,
704 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */) 686 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */)
705 687
706 // PPB_TCPServerSocket_Private. 688 // PPB_TCPServerSocket_Private.
707 689
708 // |socket_resource| should not be used as Resource in browser. The 690 // |socket_resource| should not be used as Resource in browser. The
709 // only purpose of this argument is to be echoed back. 691 // only purpose of this argument is to be echoed back.
710 // |status| == PP_ERROR_NOSPACE means that the socket table is full 692 // |status| == PP_ERROR_NOSPACE means that the socket table is full
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
1276 std::vector<std::vector<char> > /* untrusted_certs */) 1258 std::vector<std::vector<char> > /* untrusted_certs */)
1277 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read, 1259 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read,
1278 uint32 /* socket_id */, 1260 uint32 /* socket_id */,
1279 int32_t /* bytes_to_read */) 1261 int32_t /* bytes_to_read */)
1280 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write, 1262 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write,
1281 uint32 /* socket_id */, 1263 uint32 /* socket_id */,
1282 std::string /* data */) 1264 std::string /* data */)
1283 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, 1265 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect,
1284 uint32 /* socket_id */) 1266 uint32 /* socket_id */)
1285 1267
1286 // PPB_UDPSocket_Private. 1268 // UDPSocketPrivate.
1287 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBUDPSocket_Create, 1269 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Create)
1288 int32 /* routing_id */, 1270 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocketPrivate_SetBoolSocketFeature,
1289 uint32 /* plugin_dispatcher_id */,
1290 uint32 /* socket_id */)
1291 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SetBoolSocketFeature,
1292 int32 /* routing_id */,
1293 uint32 /* socket_id */,
1294 int32_t /* name */, 1271 int32_t /* name */,
1295 bool /* value */) 1272 bool /* value */)
1296 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind, 1273 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_Bind,
1297 int32 /* routing_id */,
1298 uint32 /* socket_id */,
1299 PP_NetAddress_Private /* net_addr */) 1274 PP_NetAddress_Private /* net_addr */)
1300 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, 1275 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_RecvFrom,
1301 uint32 /* socket_id */,
1302 int32_t /* num_bytes */) 1276 int32_t /* num_bytes */)
1303 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SendTo, 1277 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocketPrivate_SendTo,
1304 int32 /* routing_id */,
1305 uint32 /* socket_id */,
1306 std::string /* data */, 1278 std::string /* data */,
1307 PP_NetAddress_Private /* net_addr */) 1279 PP_NetAddress_Private /* net_addr */)
1308 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, 1280 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Close)
1309 uint32 /* socket_id */) 1281 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_UDPSocketPrivate_BindReply,
1282 bool /* succeeded */,
1283 PP_NetAddress_Private /* bound_addr */)
1284 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_UDPSocketPrivate_RecvFromReply,
1285 bool /* succeeded */,
1286 std::string /* data */,
1287 PP_NetAddress_Private /* remote_addr */)
1288 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_UDPSocketPrivate_SendToReply,
1289 bool /* succeeded */,
1290 int32_t /* bytes_written */)
1310 1291
1311 // PPB_TCPServerSocket_Private. 1292 // PPB_TCPServerSocket_Private.
1312 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, 1293 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen,
1313 int32 /* routing_id */, 1294 int32 /* routing_id */,
1314 uint32 /* plugin_dispatcher_id */, 1295 uint32 /* plugin_dispatcher_id */,
1315 PP_Resource /* socket_resource */, 1296 PP_Resource /* socket_resource */,
1316 PP_NetAddress_Private /* addr */, 1297 PP_NetAddress_Private /* addr */,
1317 int32_t /* backlog */) 1298 int32_t /* backlog */)
1318 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, 1299 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept,
1319 int32 /* tcp_client_socket_routing_id */, 1300 int32 /* tcp_client_socket_routing_id */,
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1737 std::vector<ppapi::HostResource> /* buffers */, 1718 std::vector<ppapi::HostResource> /* buffers */,
1738 uint32_t /* buffer_size */) 1719 uint32_t /* buffer_size */)
1739 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1720 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1740 uint32_t /* status */) 1721 uint32_t /* status */)
1741 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1722 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1742 uint32_t /* error */) 1723 uint32_t /* error */)
1743 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1724 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1744 uint32_t /* buffer */) 1725 uint32_t /* buffer */)
1745 1726
1746 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1727 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698