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 "content/renderer/pepper/mock_plugin_delegate.h" | 5 #include "content/renderer/pepper/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 "content/renderer/pepper/pepper_plugin_instance_impl.h" | 9 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
10 #include "content/renderer/pepper/plugin_delegate.h" | 10 #include "content/renderer/pepper/plugin_delegate.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 const ::ppapi::SocketOptionData& value) { | 226 const ::ppapi::SocketOptionData& value) { |
227 } | 227 } |
228 | 228 |
229 void MockPluginDelegate::TCPSocketDisconnect(uint32 socket_id) { | 229 void MockPluginDelegate::TCPSocketDisconnect(uint32 socket_id) { |
230 } | 230 } |
231 | 231 |
232 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, | 232 void MockPluginDelegate::RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, |
233 uint32 socket_id) { | 233 uint32 socket_id) { |
234 } | 234 } |
235 | 235 |
236 void MockPluginDelegate::TCPServerSocketListen( | |
237 PP_Resource socket_resource, | |
238 const PP_NetAddress_Private& addr, | |
239 int32_t backlog) { | |
240 } | |
241 | |
242 void MockPluginDelegate::TCPServerSocketAccept(uint32 server_socket_id) { | |
243 } | |
244 | |
245 void MockPluginDelegate::TCPServerSocketStopListening( | |
246 PP_Resource socket_resource, | |
247 uint32 socket_id) { | |
248 } | |
249 | |
250 bool MockPluginDelegate::X509CertificateParseDER( | 236 bool MockPluginDelegate::X509CertificateParseDER( |
251 const std::vector<char>& der, | 237 const std::vector<char>& der, |
252 ::ppapi::PPB_X509Certificate_Fields* fields) { | 238 ::ppapi::PPB_X509Certificate_Fields* fields) { |
253 return false; | 239 return false; |
254 } | 240 } |
255 | 241 |
256 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer( | 242 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer( |
257 PepperPluginInstanceImpl* instance) { | 243 PepperPluginInstanceImpl* instance) { |
258 return NULL; | 244 return NULL; |
259 } | 245 } |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 scoped_refptr<PluginModule> module, | 316 scoped_refptr<PluginModule> module, |
331 const base::FilePath& path, | 317 const base::FilePath& path, |
332 ::ppapi::PpapiPermissions permissions, | 318 ::ppapi::PpapiPermissions permissions, |
333 const IPC::ChannelHandle& channel_handle, | 319 const IPC::ChannelHandle& channel_handle, |
334 base::ProcessId plugin_pid, | 320 base::ProcessId plugin_pid, |
335 int plugin_child_id) { | 321 int plugin_child_id) { |
336 return NULL; | 322 return NULL; |
337 } | 323 } |
338 | 324 |
339 } // namespace content | 325 } // namespace content |
OLD | NEW |