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

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
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 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 uint32 /* socket_id */) 1266 uint32 /* socket_id */)
1266 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBTCPSocket_Connect, 1267 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBTCPSocket_Connect,
1267 int32 /* routing_id */, 1268 int32 /* routing_id */,
1268 uint32 /* socket_id */, 1269 uint32 /* socket_id */,
1269 std::string /* host */, 1270 std::string /* host */,
1270 uint16_t /* port */) 1271 uint16_t /* port */)
1271 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress, 1272 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress,
1272 int32 /* routing_id */, 1273 int32 /* routing_id */,
1273 uint32 /* socket_id */, 1274 uint32 /* socket_id */,
1274 PP_NetAddress_Private /* net_addr */) 1275 PP_NetAddress_Private /* net_addr */)
1275 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_SSLHandshake, 1276 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPSocket_SSLHandshake,
1276 uint32 /* socket_id */, 1277 uint32 /* socket_id */,
1277 std::string /* server_name */, 1278 std::string /* server_name */,
1278 uint16_t /* server_port */) 1279 uint16_t /* server_port */,
1280 std::vector<std::vector<char> > /* trusted_certs */,
1281 std::vector<std::vector<char> > /* untrusted_certs */)
1279 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read, 1282 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read,
1280 uint32 /* socket_id */, 1283 uint32 /* socket_id */,
1281 int32_t /* bytes_to_read */) 1284 int32_t /* bytes_to_read */)
1282 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write, 1285 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write,
1283 uint32 /* socket_id */, 1286 uint32 /* socket_id */,
1284 std::string /* data */) 1287 std::string /* data */)
1285 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, 1288 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect,
1286 uint32 /* socket_id */) 1289 uint32 /* socket_id */)
1287 1290
1288 // PPB_UDPSocket_Private. 1291 // PPB_UDPSocket_Private.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 // PPB_X509Certificate_Private 1323 // PPB_X509Certificate_Private
1321 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1324 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1322 std::vector<char> /* der */, 1325 std::vector<char> /* der */,
1323 bool /* succeeded */, 1326 bool /* succeeded */,
1324 ppapi::PPB_X509Certificate_Fields /* result */) 1327 ppapi::PPB_X509Certificate_Fields /* result */)
1325 1328
1326 // PPB_Font. 1329 // PPB_Font.
1327 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1330 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1328 std::string /* result */) 1331 std::string /* result */)
1329 #endif // !defined(OS_NACL) 1332 #endif // !defined(OS_NACL)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698