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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 } | 306 } |
307 | 307 |
308 void MockPluginDelegate::TCPServerSocketAccept(uint32 server_socket_id) { | 308 void MockPluginDelegate::TCPServerSocketAccept(uint32 server_socket_id) { |
309 } | 309 } |
310 | 310 |
311 void MockPluginDelegate::TCPServerSocketStopListening( | 311 void MockPluginDelegate::TCPServerSocketStopListening( |
312 PP_Resource socket_resource, | 312 PP_Resource socket_resource, |
313 uint32 socket_id) { | 313 uint32 socket_id) { |
314 } | 314 } |
315 | 315 |
316 void MockPluginDelegate::RegisterHostResolver( | |
317 ::ppapi::PPB_HostResolver_Shared* host_resolver, | |
318 uint32 host_resolver_id) { | |
319 } | |
320 | |
321 void MockPluginDelegate::HostResolverResolve( | |
322 uint32 host_resolver_id, | |
323 const ::ppapi::HostPortPair& host_port, | |
324 const PP_HostResolver_Private_Hint* hint) { | |
325 } | |
326 | |
327 void MockPluginDelegate::UnregisterHostResolver(uint32 host_resolver_id) { | |
328 } | |
329 | |
330 bool MockPluginDelegate::AddNetworkListObserver( | 316 bool MockPluginDelegate::AddNetworkListObserver( |
331 webkit_glue::NetworkListObserver* observer) { | 317 webkit_glue::NetworkListObserver* observer) { |
332 return false; | 318 return false; |
333 } | 319 } |
334 | 320 |
335 void MockPluginDelegate::RemoveNetworkListObserver( | 321 void MockPluginDelegate::RemoveNetworkListObserver( |
336 webkit_glue::NetworkListObserver* observer) { | 322 webkit_glue::NetworkListObserver* observer) { |
337 } | 323 } |
338 | 324 |
339 bool MockPluginDelegate::X509CertificateParseDER( | 325 bool MockPluginDelegate::X509CertificateParseDER( |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 } | 406 } |
421 | 407 |
422 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( | 408 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( |
423 const GURL& document_url, | 409 const GURL& document_url, |
424 const GURL& plugin_url) { | 410 const GURL& plugin_url) { |
425 return PP_FLASHLSORESTRICTIONS_NONE; | 411 return PP_FLASHLSORESTRICTIONS_NONE; |
426 } | 412 } |
427 | 413 |
428 } // namespace ppapi | 414 } // namespace ppapi |
429 } // namespace webkit | 415 } // namespace webkit |
OLD | NEW |