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

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, 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 #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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 GetFileThreadMessageLoopProxy(); 107 GetFileThreadMessageLoopProxy();
108 virtual uint32 TCPSocketCreate(); 108 virtual uint32 TCPSocketCreate();
109 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket, 109 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket,
110 uint32 socket_id, 110 uint32 socket_id,
111 const std::string& host, 111 const std::string& host,
112 uint16_t port); 112 uint16_t port);
113 virtual void TCPSocketConnectWithNetAddress( 113 virtual void TCPSocketConnectWithNetAddress(
114 PPB_TCPSocket_Private_Impl* socket, 114 PPB_TCPSocket_Private_Impl* socket,
115 uint32 socket_id, 115 uint32 socket_id,
116 const PP_NetAddress_Private& addr); 116 const PP_NetAddress_Private& addr);
117 virtual void TCPSocketSSLHandshake(uint32 socket_id, 117 virtual void TCPSocketSSLHandshake(
118 const std::string& server_name, 118 uint32 socket_id,
119 uint16_t server_port); 119 const std::string& server_name,
120 uint16_t server_port,
121 const std::vector<std::vector<char> >& trusted_certs,
122 const std::vector<std::vector<char> >& untrusted_certs);
120 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read); 123 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read);
121 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer); 124 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer);
122 virtual void TCPSocketDisconnect(uint32 socket_id); 125 virtual void TCPSocketDisconnect(uint32 socket_id);
123 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, 126 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
124 uint32 socket_id); 127 uint32 socket_id);
125 virtual uint32 UDPSocketCreate(); 128 virtual uint32 UDPSocketCreate();
126 virtual void UDPSocketBind(PPB_UDPSocket_Private_Impl* socket, 129 virtual void UDPSocketBind(PPB_UDPSocket_Private_Impl* socket,
127 uint32 socket_id, 130 uint32 socket_id,
128 const PP_NetAddress_Private& addr); 131 const PP_NetAddress_Private& addr);
129 virtual void UDPSocketRecvFrom(uint32 socket_id, int32_t num_bytes); 132 virtual void UDPSocketRecvFrom(uint32 socket_id, int32_t num_bytes);
(...skipping 55 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