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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 | 453 |
454 webkit_glue::ClipboardClient* | 454 webkit_glue::ClipboardClient* |
455 MockPluginDelegate::CreateClipboardClient() const { | 455 MockPluginDelegate::CreateClipboardClient() const { |
456 return NULL; | 456 return NULL; |
457 } | 457 } |
458 | 458 |
459 std::string MockPluginDelegate::GetDeviceID() { | 459 std::string MockPluginDelegate::GetDeviceID() { |
460 return std::string(); | 460 return std::string(); |
461 } | 461 } |
462 | 462 |
| 463 void MockPluginDelegate::GetLocalDataRestrictions(const GURL& document_url, |
| 464 const GURL& plugin_url, |
| 465 bool* block_access, |
| 466 bool* in_memory) { |
| 467 *block_access = false; |
| 468 *in_memory = false; |
| 469 } |
| 470 |
463 } // namespace ppapi | 471 } // namespace ppapi |
464 } // namespace webkit | 472 } // namespace webkit |
OLD | NEW |