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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 } | 291 } |
292 | 292 |
293 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, | 293 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, |
294 uint32 socket_id) { | 294 uint32 socket_id) { |
295 } | 295 } |
296 | 296 |
297 uint32 MockPluginDelegate::UDPSocketCreate() { | 297 uint32 MockPluginDelegate::UDPSocketCreate() { |
298 return 0; | 298 return 0; |
299 } | 299 } |
300 | 300 |
| 301 void MockPluginDelegate::UDPSocketSetBoolSocketFeature( |
| 302 PPB_UDPSocket_Private_Impl* socket, |
| 303 uint32 socket_id, |
| 304 int32_t name, |
| 305 bool value) { |
| 306 } |
| 307 |
301 void MockPluginDelegate::UDPSocketBind(PPB_UDPSocket_Private_Impl* socket, | 308 void MockPluginDelegate::UDPSocketBind(PPB_UDPSocket_Private_Impl* socket, |
302 uint32 socket_id, | 309 uint32 socket_id, |
303 const PP_NetAddress_Private& addr) { | 310 const PP_NetAddress_Private& addr) { |
304 } | 311 } |
305 | 312 |
306 void MockPluginDelegate::UDPSocketRecvFrom(uint32 socket_id, | 313 void MockPluginDelegate::UDPSocketRecvFrom(uint32 socket_id, |
307 int32_t num_bytes) { | 314 int32_t num_bytes) { |
308 } | 315 } |
309 | 316 |
310 void MockPluginDelegate::UDPSocketSendTo(uint32 socket_id, | 317 void MockPluginDelegate::UDPSocketSendTo(uint32 socket_id, |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 } | 467 } |
461 | 468 |
462 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( | 469 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( |
463 const GURL& document_url, | 470 const GURL& document_url, |
464 const GURL& plugin_url) { | 471 const GURL& plugin_url) { |
465 return PP_FLASHLSORESTRICTIONS_NONE; | 472 return PP_FLASHLSORESTRICTIONS_NONE; |
466 } | 473 } |
467 | 474 |
468 } // namespace ppapi | 475 } // namespace ppapi |
469 } // namespace webkit | 476 } // namespace webkit |
OLD | NEW |