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/message_loop_proxy.h" | 8 #include "base/message_loop/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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 void MockPluginDelegate::TCPSocketRead(uint32 socket_id, | 278 void MockPluginDelegate::TCPSocketRead(uint32 socket_id, |
279 int32_t bytes_to_read) { | 279 int32_t bytes_to_read) { |
280 } | 280 } |
281 | 281 |
282 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id, | 282 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id, |
283 const std::string& buffer) { | 283 const std::string& buffer) { |
284 } | 284 } |
285 | 285 |
286 void MockPluginDelegate::TCPSocketSetOption( | 286 void MockPluginDelegate::TCPSocketSetOption( |
287 uint32 socket_id, | 287 uint32 socket_id, |
288 PP_TCPSocket_Option_Dev name, | 288 PP_TCPSocket_Option name, |
289 const ::ppapi::SocketOptionData& value) { | 289 const ::ppapi::SocketOptionData& value) { |
290 } | 290 } |
291 | 291 |
292 void MockPluginDelegate::TCPSocketDisconnect(uint32 socket_id) { | 292 void MockPluginDelegate::TCPSocketDisconnect(uint32 socket_id) { |
293 } | 293 } |
294 | 294 |
295 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, | 295 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, |
296 uint32 socket_id) { | 296 uint32 socket_id) { |
297 } | 297 } |
298 | 298 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 return false; | 413 return false; |
414 } | 414 } |
415 | 415 |
416 void MockPluginDelegate::HandleDocumentLoad( | 416 void MockPluginDelegate::HandleDocumentLoad( |
417 PluginInstance* instance, | 417 PluginInstance* instance, |
418 const WebKit::WebURLResponse& response) { | 418 const WebKit::WebURLResponse& response) { |
419 } | 419 } |
420 | 420 |
421 } // namespace ppapi | 421 } // namespace ppapi |
422 } // namespace webkit | 422 } // namespace webkit |
OLD | NEW |