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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 } | 278 } |
279 | 279 |
280 void MockPluginDelegate::TCPServerSocketAccept(uint32 server_socket_id) { | 280 void MockPluginDelegate::TCPServerSocketAccept(uint32 server_socket_id) { |
281 } | 281 } |
282 | 282 |
283 void MockPluginDelegate::TCPServerSocketStopListening( | 283 void MockPluginDelegate::TCPServerSocketStopListening( |
284 PP_Resource socket_resource, | 284 PP_Resource socket_resource, |
285 uint32 socket_id) { | 285 uint32 socket_id) { |
286 } | 286 } |
287 | 287 |
288 void MockPluginDelegate::RegisterHostResolver( | |
289 ::ppapi::PPB_HostResolver_Shared* host_resolver, | |
290 uint32 host_resolver_id) { | |
291 } | |
292 | |
293 void MockPluginDelegate::HostResolverResolve( | |
294 uint32 host_resolver_id, | |
295 const ::ppapi::HostPortPair& host_port, | |
296 const PP_HostResolver_Private_Hint* hint) { | |
297 } | |
298 | |
299 void MockPluginDelegate::UnregisterHostResolver(uint32 host_resolver_id) { | |
300 } | |
301 | |
302 bool MockPluginDelegate::AddNetworkListObserver( | 288 bool MockPluginDelegate::AddNetworkListObserver( |
303 webkit_glue::NetworkListObserver* observer) { | 289 webkit_glue::NetworkListObserver* observer) { |
304 return false; | 290 return false; |
305 } | 291 } |
306 | 292 |
307 void MockPluginDelegate::RemoveNetworkListObserver( | 293 void MockPluginDelegate::RemoveNetworkListObserver( |
308 webkit_glue::NetworkListObserver* observer) { | 294 webkit_glue::NetworkListObserver* observer) { |
309 } | 295 } |
310 | 296 |
311 bool MockPluginDelegate::X509CertificateParseDER( | 297 bool MockPluginDelegate::X509CertificateParseDER( |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 PP_DeviceType_Dev type, | 372 PP_DeviceType_Dev type, |
387 const EnumerateDevicesCallback& callback) { | 373 const EnumerateDevicesCallback& callback) { |
388 return -1; | 374 return -1; |
389 } | 375 } |
390 | 376 |
391 void MockPluginDelegate::StopEnumerateDevices(int request_id) { | 377 void MockPluginDelegate::StopEnumerateDevices(int request_id) { |
392 } | 378 } |
393 | 379 |
394 } // namespace ppapi | 380 } // namespace ppapi |
395 } // namespace webkit | 381 } // namespace webkit |
OLD | NEW |