| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 const std::string& host, | 252 const std::string& host, |
| 253 uint16_t port) { | 253 uint16_t port) { |
| 254 } | 254 } |
| 255 | 255 |
| 256 void MockPluginDelegate::TCPSocketConnectWithNetAddress( | 256 void MockPluginDelegate::TCPSocketConnectWithNetAddress( |
| 257 PPB_TCPSocket_Private_Impl* socket, | 257 PPB_TCPSocket_Private_Impl* socket, |
| 258 uint32 socket_id, | 258 uint32 socket_id, |
| 259 const PP_NetAddress_Private& addr) { | 259 const PP_NetAddress_Private& addr) { |
| 260 } | 260 } |
| 261 | 261 |
| 262 void MockPluginDelegate::TCPSocketSSLHandshake(uint32 socket_id, | 262 void MockPluginDelegate::TCPSocketSSLHandshake( |
| 263 const std::string& server_name, | 263 uint32 socket_id, |
| 264 uint16_t server_port) { | 264 const std::string& server_name, |
| 265 uint16_t server_port, |
| 266 const std::vector<std::vector<char> >& trusted_certs, |
| 267 const std::vector<std::vector<char> >& untrusted_certs) { |
| 265 } | 268 } |
| 266 | 269 |
| 267 void MockPluginDelegate::TCPSocketRead(uint32 socket_id, | 270 void MockPluginDelegate::TCPSocketRead(uint32 socket_id, |
| 268 int32_t bytes_to_read) { | 271 int32_t bytes_to_read) { |
| 269 } | 272 } |
| 270 | 273 |
| 271 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id, | 274 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id, |
| 272 const std::string& buffer) { | 275 const std::string& buffer) { |
| 273 } | 276 } |
| 274 | 277 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 return -1; | 429 return -1; |
| 427 } | 430 } |
| 428 | 431 |
| 429 webkit_glue::ClipboardClient* | 432 webkit_glue::ClipboardClient* |
| 430 MockPluginDelegate::CreateClipboardClient() const { | 433 MockPluginDelegate::CreateClipboardClient() const { |
| 431 return NULL; | 434 return NULL; |
| 432 } | 435 } |
| 433 | 436 |
| 434 } // namespace ppapi | 437 } // namespace ppapi |
| 435 } // namespace webkit | 438 } // namespace webkit |
| OLD | NEW |