| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 const std::string& host, | 243 const std::string& host, |
| 244 uint16_t port) { | 244 uint16_t port) { |
| 245 } | 245 } |
| 246 | 246 |
| 247 void MockPluginDelegate::TCPSocketConnectWithNetAddress( | 247 void MockPluginDelegate::TCPSocketConnectWithNetAddress( |
| 248 PPB_TCPSocket_Private_Impl* socket, | 248 PPB_TCPSocket_Private_Impl* socket, |
| 249 uint32 socket_id, | 249 uint32 socket_id, |
| 250 const PP_NetAddress_Private& addr) { | 250 const PP_NetAddress_Private& addr) { |
| 251 } | 251 } |
| 252 | 252 |
| 253 void MockPluginDelegate::TCPSocketSSLHandshake(uint32 socket_id, | 253 void MockPluginDelegate::TCPSocketSSLHandshake( |
| 254 const std::string& server_name, | 254 uint32 socket_id, |
| 255 uint16_t server_port) { | 255 const std::string& server_name, |
| 256 uint16_t server_port, |
| 257 const std::vector<std::vector<char> >& trusted_certs, |
| 258 const std::vector<std::vector<char> >& untrusted_certs) { |
| 256 } | 259 } |
| 257 | 260 |
| 258 void MockPluginDelegate::TCPSocketRead(uint32 socket_id, | 261 void MockPluginDelegate::TCPSocketRead(uint32 socket_id, |
| 259 int32_t bytes_to_read) { | 262 int32_t bytes_to_read) { |
| 260 } | 263 } |
| 261 | 264 |
| 262 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id, | 265 void MockPluginDelegate::TCPSocketWrite(uint32 socket_id, |
| 263 const std::string& buffer) { | 266 const std::string& buffer) { |
| 264 } | 267 } |
| 265 | 268 |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 return -1; | 434 return -1; |
| 432 } | 435 } |
| 433 | 436 |
| 434 webkit_glue::ClipboardClient* | 437 webkit_glue::ClipboardClient* |
| 435 MockPluginDelegate::CreateClipboardClient() const { | 438 MockPluginDelegate::CreateClipboardClient() const { |
| 436 return NULL; | 439 return NULL; |
| 437 } | 440 } |
| 438 | 441 |
| 439 } // namespace ppapi | 442 } // namespace ppapi |
| 440 } // namespace webkit | 443 } // namespace webkit |
| OLD | NEW |