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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 | 454 |
455 int MockPluginDelegate::EnumerateDevices( | 455 int MockPluginDelegate::EnumerateDevices( |
456 PP_DeviceType_Dev type, | 456 PP_DeviceType_Dev type, |
457 const EnumerateDevicesCallback& callback) { | 457 const EnumerateDevicesCallback& callback) { |
458 return -1; | 458 return -1; |
459 } | 459 } |
460 | 460 |
461 void MockPluginDelegate::StopEnumerateDevices(int request_id) { | 461 void MockPluginDelegate::StopEnumerateDevices(int request_id) { |
462 } | 462 } |
463 | 463 |
464 std::string MockPluginDelegate::GetDeviceID() { | |
465 return std::string(); | |
466 } | |
467 | |
468 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( | 464 PP_FlashLSORestrictions MockPluginDelegate::GetLocalDataRestrictions( |
469 const GURL& document_url, | 465 const GURL& document_url, |
470 const GURL& plugin_url) { | 466 const GURL& plugin_url) { |
471 return PP_FLASHLSORESTRICTIONS_NONE; | 467 return PP_FLASHLSORESTRICTIONS_NONE; |
472 } | 468 } |
473 | 469 |
474 } // namespace ppapi | 470 } // namespace ppapi |
475 } // namespace webkit | 471 } // namespace webkit |
OLD | NEW |