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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
117 const PP_NetAddress_Private& addr); | 117 const PP_NetAddress_Private& addr); |
118 virtual void TCPSocketSSLHandshake( | 118 virtual void TCPSocketSSLHandshake( |
119 uint32 socket_id, | 119 uint32 socket_id, |
120 const std::string& server_name, | 120 const std::string& server_name, |
121 uint16_t server_port, | 121 uint16_t server_port, |
122 const std::vector<std::vector<char> >& trusted_certs, | 122 const std::vector<std::vector<char> >& trusted_certs, |
123 const std::vector<std::vector<char> >& untrusted_certs); | 123 const std::vector<std::vector<char> >& untrusted_certs); |
124 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read); | 124 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read); |
125 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer); | 125 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer); |
126 virtual void TCPSocketDisconnect(uint32 socket_id); | 126 virtual void TCPSocketDisconnect(uint32 socket_id); |
127 virtual void TCPSocketSetBoolFeature(uint32 socket_id, int32_t name, | |
yzshen1
2013/02/08 21:51:11
For function declarations and definitions, put eac
Wez
2013/02/10 04:47:02
Done.
| |
128 bool value); | |
127 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, | 129 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, |
128 uint32 socket_id); | 130 uint32 socket_id); |
129 virtual void TCPServerSocketListen(PP_Resource socket_resource, | 131 virtual void TCPServerSocketListen(PP_Resource socket_resource, |
130 const PP_NetAddress_Private& addr, | 132 const PP_NetAddress_Private& addr, |
131 int32_t backlog); | 133 int32_t backlog); |
132 virtual void TCPServerSocketAccept(uint32 server_socket_id); | 134 virtual void TCPServerSocketAccept(uint32 server_socket_id); |
133 virtual void TCPServerSocketStopListening(PP_Resource socket_resource, | 135 virtual void TCPServerSocketStopListening(PP_Resource socket_resource, |
134 uint32 socket_id); | 136 uint32 socket_id); |
135 virtual void RegisterHostResolver( | 137 virtual void RegisterHostResolver( |
136 ::ppapi::PPB_HostResolver_Shared* host_resolver, | 138 ::ppapi::PPB_HostResolver_Shared* host_resolver, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
171 virtual bool IsPageVisible() const; | 173 virtual bool IsPageVisible() const; |
172 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 174 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
173 const EnumerateDevicesCallback& callback); | 175 const EnumerateDevicesCallback& callback); |
174 virtual void StopEnumerateDevices(int request_id); | 176 virtual void StopEnumerateDevices(int request_id); |
175 }; | 177 }; |
176 | 178 |
177 } // namespace ppapi | 179 } // namespace ppapi |
178 } // namespace webkit | 180 } // namespace webkit |
179 | 181 |
180 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 182 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |