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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 | 391 |
392 void MockPluginDelegate::DidStopLoading() { | 392 void MockPluginDelegate::DidStopLoading() { |
393 } | 393 } |
394 | 394 |
395 void MockPluginDelegate::SetContentRestriction(int restrictions) { | 395 void MockPluginDelegate::SetContentRestriction(int restrictions) { |
396 } | 396 } |
397 | 397 |
398 void MockPluginDelegate::SaveURLAs(const GURL& url) { | 398 void MockPluginDelegate::SaveURLAs(const GURL& url) { |
399 } | 399 } |
400 | 400 |
401 webkit_glue::P2PTransport* MockPluginDelegate::CreateP2PTransport() { | |
402 return NULL; | |
403 } | |
404 | |
405 double MockPluginDelegate::GetLocalTimeZoneOffset(base::Time t) { | 401 double MockPluginDelegate::GetLocalTimeZoneOffset(base::Time t) { |
406 return 0.0; | 402 return 0.0; |
407 } | 403 } |
408 | 404 |
409 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( | 405 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( |
410 uint32_t size) { | 406 uint32_t size) { |
411 return NULL; | 407 return NULL; |
412 } | 408 } |
413 | 409 |
414 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { | 410 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 } | 460 } |
465 | 461 |
466 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( | 462 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( |
467 const GURL& document_url, | 463 const GURL& document_url, |
468 const GURL& plugin_url) { | 464 const GURL& plugin_url) { |
469 return PP_FLASHLSORESTRICTIONS_NONE; | 465 return PP_FLASHLSORESTRICTIONS_NONE; |
470 } | 466 } |
471 | 467 |
472 } // namespace ppapi | 468 } // namespace ppapi |
473 } // namespace webkit | 469 } // namespace webkit |
OLD | NEW |