| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |