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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.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
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 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 struct PP_NetAddress_Private; 10 struct PP_NetAddress_Private;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 const PP_NetAddress_Private* addr); 112 const PP_NetAddress_Private* addr);
113 virtual uint32 TCPSocketCreate(); 113 virtual uint32 TCPSocketCreate();
114 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket, 114 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket,
115 uint32 socket_id, 115 uint32 socket_id,
116 const std::string& host, 116 const std::string& host,
117 uint16_t port); 117 uint16_t port);
118 virtual void TCPSocketConnectWithNetAddress( 118 virtual void TCPSocketConnectWithNetAddress(
119 PPB_TCPSocket_Private_Impl* socket, 119 PPB_TCPSocket_Private_Impl* socket,
120 uint32 socket_id, 120 uint32 socket_id,
121 const PP_NetAddress_Private& addr); 121 const PP_NetAddress_Private& addr);
122 virtual void TCPSocketSSLHandshake(uint32 socket_id, 122 virtual void TCPSocketSSLHandshake(
123 const std::string& server_name, 123 uint32 socket_id,
124 uint16_t server_port); 124 const std::string& server_name,
125 uint16_t server_port,
126 const std::vector<std::vector<char> >& trusted_certs,
127 const std::vector<std::vector<char> >& untrusted_certs);
125 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read); 128 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read);
126 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer); 129 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer);
127 virtual void TCPSocketDisconnect(uint32 socket_id); 130 virtual void TCPSocketDisconnect(uint32 socket_id);
128 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, 131 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
129 uint32 socket_id); 132 uint32 socket_id);
130 virtual uint32 UDPSocketCreate(); 133 virtual uint32 UDPSocketCreate();
131 virtual void UDPSocketBind(PPB_UDPSocket_Private_Impl* socket, 134 virtual void UDPSocketBind(PPB_UDPSocket_Private_Impl* socket,
132 uint32 socket_id, 135 uint32 socket_id,
133 const PP_NetAddress_Private& addr); 136 const PP_NetAddress_Private& addr);
134 virtual void UDPSocketRecvFrom(uint32 socket_id, int32_t num_bytes); 137 virtual void UDPSocketRecvFrom(uint32 socket_id, int32_t num_bytes);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 virtual bool IsPageVisible() const; 188 virtual bool IsPageVisible() const;
186 virtual int EnumerateDevices(PP_DeviceType_Dev type, 189 virtual int EnumerateDevices(PP_DeviceType_Dev type,
187 const EnumerateDevicesCallback& callback); 190 const EnumerateDevicesCallback& callback);
188 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 191 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
189 }; 192 };
190 193
191 } // namespace ppapi 194 } // namespace ppapi
192 } // namespace webkit 195 } // namespace webkit
193 196
194 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 197 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_tcp_socket_private_thunk.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698