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

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

Issue 7535007: Implement PPB_Flash_TCPSocket.InitiateSSL. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 std::string /* local_addr_as_string */, 179 std::string /* local_addr_as_string */,
180 std::string /* remote_addr_as_string */) 180 std::string /* remote_addr_as_string */)
181 181
182 // PPB_Flash_TCPSocket. 182 // PPB_Flash_TCPSocket.
183 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashTCPSocket_ConnectACK, 183 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBFlashTCPSocket_ConnectACK,
184 uint32 /* plugin_dispatcher_id */, 184 uint32 /* plugin_dispatcher_id */,
185 uint32 /* socket_id */, 185 uint32 /* socket_id */,
186 bool /* succeeded */, 186 bool /* succeeded */,
187 PP_Flash_NetAddress /* local_addr */, 187 PP_Flash_NetAddress /* local_addr */,
188 PP_Flash_NetAddress /* remote_addr */) 188 PP_Flash_NetAddress /* remote_addr */)
189 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashTCPSocket_InitiateSSLACK,
190 uint32 /* plugin_dispatcher_id */,
191 uint32 /* socket_id */,
192 bool /* succeeded */)
189 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_ReadACK, 193 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_ReadACK,
190 uint32 /* plugin_dispatcher_id */, 194 uint32 /* plugin_dispatcher_id */,
191 uint32 /* socket_id */, 195 uint32 /* socket_id */,
192 bool /* succeeded */, 196 bool /* succeeded */,
193 std::string /* data */) 197 std::string /* data */)
194 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_WriteACK, 198 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBFlashTCPSocket_WriteACK,
195 uint32 /* plugin_dispatcher_id */, 199 uint32 /* plugin_dispatcher_id */,
196 uint32 /* socket_id */, 200 uint32 /* socket_id */,
197 bool /* succeeded */, 201 bool /* succeeded */,
198 int32_t /* bytes_written */) 202 int32_t /* bytes_written */)
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 int32 /* routing_id */, 600 int32 /* routing_id */,
597 uint32 /* plugin_dispatcher_id */, 601 uint32 /* plugin_dispatcher_id */,
598 uint32 /* socket_id */) 602 uint32 /* socket_id */)
599 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashTCPSocket_Connect, 603 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBFlashTCPSocket_Connect,
600 uint32 /* socket_id */, 604 uint32 /* socket_id */,
601 std::string /* host */, 605 std::string /* host */,
602 uint16_t /* port */) 606 uint16_t /* port */)
603 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_ConnectWithNetAddress, 607 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_ConnectWithNetAddress,
604 uint32 /* socket_id */, 608 uint32 /* socket_id */,
605 PP_Flash_NetAddress /* net_addr */) 609 PP_Flash_NetAddress /* net_addr */)
610 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_InitiateSSL,
611 uint32 /* socket_id */,
612 std::string /* server_name */)
wtc 2011/08/09 21:21:29 SSLClientSocket also needs the port number. Can y
yzshen1 2011/08/09 23:45:29 Please see reply to your comment in pepper_message
606 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Read, 613 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Read,
607 uint32 /* socket_id */, 614 uint32 /* socket_id */,
608 int32_t /* bytes_to_read */) 615 int32_t /* bytes_to_read */)
609 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Write, 616 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBFlashTCPSocket_Write,
610 uint32 /* socket_id */, 617 uint32 /* socket_id */,
611 std::string /* data */) 618 std::string /* data */)
612 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashTCPSocket_Disconnect, 619 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBFlashTCPSocket_Disconnect,
613 uint32 /* socket_id */) 620 uint32 /* socket_id */)
614 621
615 // PPB_Font. 622 // PPB_Font.
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 PP_Bool /* is_always_opaque */, 901 PP_Bool /* is_always_opaque */,
895 pp::proxy::HostResource /* result */) 902 pp::proxy::HostResource /* result */)
896 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_ResourceCreation_ImageData, 903 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_ResourceCreation_ImageData,
897 PP_Instance /* instance */, 904 PP_Instance /* instance */,
898 int32 /* format */, 905 int32 /* format */,
899 PP_Size /* size */, 906 PP_Size /* size */,
900 PP_Bool /* init_to_zero */, 907 PP_Bool /* init_to_zero */,
901 pp::proxy::HostResource /* result_resource */, 908 pp::proxy::HostResource /* result_resource */,
902 std::string /* image_data_desc */, 909 std::string /* image_data_desc */,
903 pp::proxy::ImageHandle /* result */) 910 pp::proxy::ImageHandle /* result */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698