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

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

Issue 23064006: Test issue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactored PepperMessageFilter. Created 7 years, 4 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_tcp_socket_private_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/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Create, 1157 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Create,
1158 PP_Instance /* instance */, 1158 PP_Instance /* instance */,
1159 ppapi::HostResource /* result */) 1159 ppapi::HostResource /* result */)
1160 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Run, 1160 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFlashMessageLoop_Run,
1161 ppapi::HostResource /* flash_message_loop */, 1161 ppapi::HostResource /* flash_message_loop */,
1162 int32_t /* result */) 1162 int32_t /* result */)
1163 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlashMessageLoop_Quit, 1163 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlashMessageLoop_Quit,
1164 ppapi::HostResource /* flash_message_loop */) 1164 ppapi::HostResource /* flash_message_loop */)
1165 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1165 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
1166 1166
1167 // PPB_TCPSocket and PPB_TCPSocket_Private.
1168 // Creates a PPB_TCPSocket resource.
1169 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPSocket_Create,
1170 int32 /* routing_id */,
1171 uint32 /* plugin_dispatcher_id */,
1172 uint32 /* socket_id */)
1173 // Creates a PPB_TCPSocket_Private resource.
1174 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPSocket_CreatePrivate,
1175 int32 /* routing_id */,
1176 uint32 /* plugin_dispatcher_id */,
1177 uint32 /* socket_id */)
1178 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBTCPSocket_Connect,
1179 int32 /* routing_id */,
1180 uint32 /* socket_id */,
1181 std::string /* host */,
1182 uint16_t /* port */)
1183 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress,
1184 int32 /* routing_id */,
1185 uint32 /* socket_id */,
1186 PP_NetAddress_Private /* net_addr */)
1187 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPSocket_SSLHandshake,
1188 uint32 /* socket_id */,
1189 std::string /* server_name */,
1190 uint16_t /* server_port */,
1191 std::vector<std::vector<char> > /* trusted_certs */,
1192 std::vector<std::vector<char> > /* untrusted_certs */)
1193 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read,
1194 uint32 /* socket_id */,
1195 int32_t /* bytes_to_read */)
1196 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write,
1197 uint32 /* socket_id */,
1198 std::string /* data */)
1199 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect,
1200 uint32 /* socket_id */)
1201 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_SetOption,
1202 uint32 /* socket_id */,
1203 PP_TCPSocket_Option /* name */,
1204 ppapi::SocketOptionData /* value */)
1205
1206 // PPB_X509Certificate_Private 1167 // PPB_X509Certificate_Private
1207 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1168 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1208 std::vector<char> /* der */, 1169 std::vector<char> /* der */,
1209 bool /* succeeded */, 1170 bool /* succeeded */,
1210 ppapi::PPB_X509Certificate_Fields /* result */) 1171 ppapi::PPB_X509Certificate_Fields /* result */)
1211 1172
1212 //----------------------------------------------------------------------------- 1173 //-----------------------------------------------------------------------------
1213 // Resource call/reply messages. 1174 // Resource call/reply messages.
1214 // 1175 //
1215 // These are the new-style resource implementations where the resource is only 1176 // These are the new-style resource implementations where the resource is only
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_HostResolver_ResolveReply, 1516 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_HostResolver_ResolveReply,
1556 std::string /* canonical_name */, 1517 std::string /* canonical_name */,
1557 std::vector<PP_NetAddress_Private> /* net_address_list */) 1518 std::vector<PP_NetAddress_Private> /* net_address_list */)
1558 1519
1559 // Printing. 1520 // Printing.
1560 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) 1521 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create)
1561 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) 1522 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings)
1562 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, 1523 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply,
1563 PP_PrintSettings_Dev /* print_settings */) 1524 PP_PrintSettings_Dev /* print_settings */)
1564 1525
1526 // TCP Socket ------------------------------------------------------------------
1527 // Creates a PPB_TCPSocket resource.
1528 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TCPSocket_Create)
1529
1530 // Creates a PPB_TCPSocket_Private resource.
1531 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TCPSocket_CreatePrivate)
1532
1533 IPC_MESSAGE_CONTROL2(PpapiHostMsg_TCPSocket_Connect,
1534 std::string /* host */,
1535 uint16_t /* port */)
1536 IPC_MESSAGE_CONTROL1(PpapiHostMsg_TCPSocket_ConnectWithNetAddress,
1537 PP_NetAddress_Private /* net_addr */)
1538 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_TCPSocket_ConnectReply,
1539 PP_NetAddress_Private /* local_addr */,
1540 PP_NetAddress_Private /* remote_addr */)
1541 IPC_MESSAGE_CONTROL4(PpapiHostMsg_TCPSocket_SSLHandshake,
1542 std::string /* server_name */,
1543 uint16_t /* server_port */,
1544 std::vector<std::vector<char> > /* trusted_certs */,
1545 std::vector<std::vector<char> > /* untrusted_certs */)
1546 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TCPSocket_SSLHandshakeReply,
1547 ppapi::PPB_X509Certificate_Fields /* certificate_fields */)
1548 IPC_MESSAGE_CONTROL1(PpapiHostMsg_TCPSocket_Read,
1549 int32_t /* bytes_to_read */)
1550 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TCPSocket_ReadReply,
1551 std::string /* data */)
1552 IPC_MESSAGE_CONTROL1(PpapiHostMsg_TCPSocket_Write,
1553 std::string /* data */)
1554 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_TCPSocket_WriteReply)
1555 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TCPSocket_Disconnect)
1556 IPC_MESSAGE_CONTROL2(PpapiHostMsg_TCPSocket_SetOption,
1557 PP_TCPSocket_Option /* name */,
1558 ppapi::SocketOptionData /* value */)
1559 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_TCPSocket_SetOptionReply)
1560
1565 // TCP Server Socket ----------------------------------------------------------- 1561 // TCP Server Socket -----------------------------------------------------------
1566 // Creates a PPB_TCPServerSocket_Private resource. 1562 // Creates a PPB_TCPServerSocket_Private resource.
1567 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TCPServerSocket_CreatePrivate) 1563 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TCPServerSocket_CreatePrivate)
1568 1564
1569 IPC_MESSAGE_CONTROL2(PpapiHostMsg_TCPServerSocket_Listen, 1565 IPC_MESSAGE_CONTROL2(PpapiHostMsg_TCPServerSocket_Listen,
1570 PP_NetAddress_Private /* addr */, 1566 PP_NetAddress_Private /* addr */,
1571 int32_t /* backlog */) 1567 int32_t /* backlog */)
1572 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TCPServerSocket_ListenReply, 1568 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_TCPServerSocket_ListenReply,
1573 PP_NetAddress_Private /* local_addr */) 1569 PP_NetAddress_Private /* local_addr */)
1574 IPC_MESSAGE_CONTROL1(PpapiHostMsg_TCPServerSocket_Accept, 1570 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TCPServerSocket_Accept)
1575 uint32 /* plugin_dispatcher_id */)
1576 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_TCPServerSocket_AcceptReply, 1571 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_TCPServerSocket_AcceptReply,
1577 uint32 /* accepted_socket_id */, 1572 int /* pending_resource_id */,
1578 PP_NetAddress_Private /* local_addr */, 1573 PP_NetAddress_Private /* local_addr */,
1579 PP_NetAddress_Private /* remote_addr */) 1574 PP_NetAddress_Private /* remote_addr */)
1580 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TCPServerSocket_StopListening) 1575 IPC_MESSAGE_CONTROL0(PpapiHostMsg_TCPServerSocket_StopListening)
1581 1576
1582 // UDP Socket ------------------------------------------------------------------ 1577 // UDP Socket ------------------------------------------------------------------
1583 // Creates a PPB_UDPSocket resource. 1578 // Creates a PPB_UDPSocket resource.
1584 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocket_Create) 1579 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocket_Create)
1585 1580
1586 // Creates a PPB_UDPSocket_Private resource. 1581 // Creates a PPB_UDPSocket_Private resource.
1587 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocket_CreatePrivate) 1582 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocket_CreatePrivate)
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
2051 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2046 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2052 PP_TalkPermission /* permission */) 2047 PP_TalkPermission /* permission */)
2053 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2048 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2054 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2049 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2055 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2050 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2056 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2051 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2057 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2052 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2058 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2053 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2059 2054
2060 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2055 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_tcp_socket_private_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698