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

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

Issue 9699100: Add functionality to pppapi TCPSocket to support secure sockets in flash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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/file_path.h" 10 #include "base/file_path.h"
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 PP_Resource /* resource */, 334 PP_Resource /* resource */,
335 int32_t /* result */) 335 int32_t /* result */)
336 336
337 // PPB_TCPSocket_Private. 337 // PPB_TCPSocket_Private.
338 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPSocket_ConnectACK, 338 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPSocket_ConnectACK,
339 uint32 /* plugin_dispatcher_id */, 339 uint32 /* plugin_dispatcher_id */,
340 uint32 /* socket_id */, 340 uint32 /* socket_id */,
341 bool /* succeeded */, 341 bool /* succeeded */,
342 PP_NetAddress_Private /* local_addr */, 342 PP_NetAddress_Private /* local_addr */,
343 PP_NetAddress_Private /* remote_addr */) 343 PP_NetAddress_Private /* remote_addr */)
344 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBTCPSocket_SSLHandshakeACK, 344 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_SSLHandshakeACK,
345 uint32 /* plugin_dispatcher_id */, 345 uint32 /* plugin_dispatcher_id */,
346 uint32 /* socket_id */, 346 uint32 /* socket_id */,
347 bool /* succeeded */) 347 bool /* succeeded */,
348 ppapi::PPB_X509Certificate_Fields /* certificate_fields */)
348 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_ReadACK, 349 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_ReadACK,
349 uint32 /* plugin_dispatcher_id */, 350 uint32 /* plugin_dispatcher_id */,
350 uint32 /* socket_id */, 351 uint32 /* socket_id */,
351 bool /* succeeded */, 352 bool /* succeeded */,
352 std::string /* data */) 353 std::string /* data */)
353 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK, 354 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK,
354 uint32 /* plugin_dispatcher_id */, 355 uint32 /* plugin_dispatcher_id */,
355 uint32 /* socket_id */, 356 uint32 /* socket_id */,
356 bool /* succeeded */, 357 bool /* succeeded */,
357 int32_t /* bytes_written */) 358 int32_t /* bytes_written */)
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
1250 uint32 /* socket_id */) 1251 uint32 /* socket_id */)
1251 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBTCPSocket_Connect, 1252 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBTCPSocket_Connect,
1252 int32 /* routing_id */, 1253 int32 /* routing_id */,
1253 uint32 /* socket_id */, 1254 uint32 /* socket_id */,
1254 std::string /* host */, 1255 std::string /* host */,
1255 uint16_t /* port */) 1256 uint16_t /* port */)
1256 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress, 1257 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress,
1257 int32 /* routing_id */, 1258 int32 /* routing_id */,
1258 uint32 /* socket_id */, 1259 uint32 /* socket_id */,
1259 PP_NetAddress_Private /* net_addr */) 1260 PP_NetAddress_Private /* net_addr */)
1260 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_SSLHandshake, 1261 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPSocket_SSLHandshake,
1261 uint32 /* socket_id */, 1262 uint32 /* socket_id */,
1262 std::string /* server_name */, 1263 std::string /* server_name */,
1263 uint16_t /* server_port */) 1264 uint16_t /* server_port */,
1265 std::vector<std::vector<char> > /* trusted_certs */,
1266 std::vector<std::vector<char> > /* untrusted_certs */)
1264 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read, 1267 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read,
1265 uint32 /* socket_id */, 1268 uint32 /* socket_id */,
1266 int32_t /* bytes_to_read */) 1269 int32_t /* bytes_to_read */)
1267 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write, 1270 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write,
1268 uint32 /* socket_id */, 1271 uint32 /* socket_id */,
1269 std::string /* data */) 1272 std::string /* data */)
1270 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, 1273 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect,
1271 uint32 /* socket_id */) 1274 uint32 /* socket_id */)
1272 1275
1273 // PPB_UDPSocket_Private. 1276 // PPB_UDPSocket_Private.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1305 // PPB_X509Certificate_Private 1308 // PPB_X509Certificate_Private
1306 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1309 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1307 std::vector<char> /* der */, 1310 std::vector<char> /* der */,
1308 bool /* succeeded */, 1311 bool /* succeeded */,
1309 ppapi::PPB_X509Certificate_Fields /* result */) 1312 ppapi::PPB_X509Certificate_Fields /* result */)
1310 1313
1311 // PPB_Font. 1314 // PPB_Font.
1312 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1315 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1313 std::string /* result */) 1316 std::string /* result */)
1314 #endif // !defined(OS_NACL) 1317 #endif // !defined(OS_NACL)
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