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

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, 9 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/ppapi_shared.gypi ('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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 ppapi::HostResource /* filesystem */, 296 ppapi::HostResource /* filesystem */,
297 int32_t /* result */) 297 int32_t /* result */)
298 298
299 // PPB_TCPSocket_Private. 299 // PPB_TCPSocket_Private.
300 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPSocket_ConnectACK, 300 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPSocket_ConnectACK,
301 uint32 /* plugin_dispatcher_id */, 301 uint32 /* plugin_dispatcher_id */,
302 uint32 /* socket_id */, 302 uint32 /* socket_id */,
303 bool /* succeeded */, 303 bool /* succeeded */,
304 PP_NetAddress_Private /* local_addr */, 304 PP_NetAddress_Private /* local_addr */,
305 PP_NetAddress_Private /* remote_addr */) 305 PP_NetAddress_Private /* remote_addr */)
306 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBTCPSocket_SSLHandshakeACK, 306 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_SSLHandshakeACK,
307 uint32 /* plugin_dispatcher_id */, 307 uint32 /* plugin_dispatcher_id */,
308 uint32 /* socket_id */, 308 uint32 /* socket_id */,
309 bool /* succeeded */) 309 bool /* succeeded */,
310 ppapi::PPB_X509Certificate_Fields /* certificate_fields */)
310 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_ReadACK, 311 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_ReadACK,
311 uint32 /* plugin_dispatcher_id */, 312 uint32 /* plugin_dispatcher_id */,
312 uint32 /* socket_id */, 313 uint32 /* socket_id */,
313 bool /* succeeded */, 314 bool /* succeeded */,
314 std::string /* data */) 315 std::string /* data */)
315 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK, 316 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK,
316 uint32 /* plugin_dispatcher_id */, 317 uint32 /* plugin_dispatcher_id */,
317 uint32 /* socket_id */, 318 uint32 /* socket_id */,
318 bool /* succeeded */, 319 bool /* succeeded */,
319 int32_t /* bytes_written */) 320 int32_t /* bytes_written */)
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 uint32 /* socket_id */) 1206 uint32 /* socket_id */)
1206 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBTCPSocket_Connect, 1207 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBTCPSocket_Connect,
1207 int32 /* routing_id */, 1208 int32 /* routing_id */,
1208 uint32 /* socket_id */, 1209 uint32 /* socket_id */,
1209 std::string /* host */, 1210 std::string /* host */,
1210 uint16_t /* port */) 1211 uint16_t /* port */)
1211 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress, 1212 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_ConnectWithNetAddress,
1212 int32 /* routing_id */, 1213 int32 /* routing_id */,
1213 uint32 /* socket_id */, 1214 uint32 /* socket_id */,
1214 PP_NetAddress_Private /* net_addr */) 1215 PP_NetAddress_Private /* net_addr */)
1215 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPSocket_SSLHandshake, 1216 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPSocket_SSLHandshake,
1216 uint32 /* socket_id */, 1217 uint32 /* socket_id */,
1217 std::string /* server_name */, 1218 std::string /* server_name */,
1218 uint16_t /* server_port */) 1219 uint16_t /* server_port */,
1220 std::vector<std::vector<char> > /* trusted_certs */,
1221 std::vector<std::vector<char> > /* untrusted_certs */);
1219 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read, 1222 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read,
1220 uint32 /* socket_id */, 1223 uint32 /* socket_id */,
1221 int32_t /* bytes_to_read */) 1224 int32_t /* bytes_to_read */)
1222 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write, 1225 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write,
1223 uint32 /* socket_id */, 1226 uint32 /* socket_id */,
1224 std::string /* data */) 1227 std::string /* data */)
1225 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, 1228 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect,
1226 uint32 /* socket_id */) 1229 uint32 /* socket_id */)
1227 1230
1228 // PPB_UDPSocket_Private. 1231 // PPB_UDPSocket_Private.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1263 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1261 std::vector<char> /* der */, 1264 std::vector<char> /* der */,
1262 bool /* succeeded */, 1265 bool /* succeeded */,
1263 ppapi::PPB_X509Certificate_Fields /* result */) 1266 ppapi::PPB_X509Certificate_Fields /* result */)
1264 1267
1265 // PPB_Font. 1268 // PPB_Font.
1266 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1269 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1267 std::string /* result */) 1270 std::string /* result */)
1268 #endif // !defined(OS_NACL) 1271 #endif // !defined(OS_NACL)
1269 1272
OLDNEW
« no previous file with comments | « ppapi/ppapi_shared.gypi ('k') | ppapi/proxy/ppb_tcp_socket_private_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698