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 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" | 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop_proxy.h" |
9 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
10 #include "ppapi/shared_impl/ppapi_preferences.h" | 10 #include "ppapi/shared_impl/ppapi_preferences.h" |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 } | 257 } |
258 | 258 |
259 void MockPluginDelegate::TCPSocketRead(uint32 socket_id, | 259 void MockPluginDelegate::TCPSocketRead(uint32 socket_id, |
260 int32_t bytes_to_read) { | 260 int32_t bytes_to_read) { |
261 } | 261 } |
262 | 262 |
263 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id, | 263 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id, |
264 const std::string& buffer) { | 264 const std::string& buffer) { |
265 } | 265 } |
266 | 266 |
| 267 void MockPluginDelegate::TCPSocketSetBoolOption(uint32 socket_id, |
| 268 PP_TCPSocketOption_Private name, |
| 269 bool value) { |
| 270 } |
| 271 |
267 void MockPluginDelegate::TCPSocketDisconnect(uint32 socket_id) { | 272 void MockPluginDelegate::TCPSocketDisconnect(uint32 socket_id) { |
268 } | 273 } |
269 | 274 |
270 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, | 275 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, |
271 uint32 socket_id) { | 276 uint32 socket_id) { |
272 } | 277 } |
273 | 278 |
274 void MockPluginDelegate::TCPServerSocketListen( | 279 void MockPluginDelegate::TCPServerSocketListen( |
275 PP_Resource socket_resource, | 280 PP_Resource socket_resource, |
276 const PP_NetAddress_Private& addr, | 281 const PP_NetAddress_Private& addr, |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 PP_DeviceType_Dev type, | 377 PP_DeviceType_Dev type, |
373 const EnumerateDevicesCallback& callback) { | 378 const EnumerateDevicesCallback& callback) { |
374 return -1; | 379 return -1; |
375 } | 380 } |
376 | 381 |
377 void MockPluginDelegate::StopEnumerateDevices(int request_id) { | 382 void MockPluginDelegate::StopEnumerateDevices(int request_id) { |
378 } | 383 } |
379 | 384 |
380 } // namespace ppapi | 385 } // namespace ppapi |
381 } // namespace webkit | 386 } // namespace webkit |
OLD | NEW |