| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 int flags, | 135 int flags, |
| 136 const AsyncOpenFileCallback& callback) { | 136 const AsyncOpenFileCallback& callback) { |
| 137 return false; | 137 return false; |
| 138 } | 138 } |
| 139 | 139 |
| 140 bool MockPluginDelegate::AsyncOpenFileSystemURL( | 140 bool MockPluginDelegate::AsyncOpenFileSystemURL( |
| 141 const GURL& path, int flags, const AsyncOpenFileCallback& callback) { | 141 const GURL& path, int flags, const AsyncOpenFileCallback& callback) { |
| 142 return false; | 142 return false; |
| 143 } | 143 } |
| 144 | 144 |
| 145 bool MockPluginDelegate::AsyncNotifyCloseFileSystemURL(const GURL& path) { |
| 146 return false; |
| 147 } |
| 148 |
| 145 bool MockPluginDelegate::OpenFileSystem( | 149 bool MockPluginDelegate::OpenFileSystem( |
| 146 const GURL& url, | 150 const GURL& url, |
| 147 fileapi::FileSystemType type, | 151 fileapi::FileSystemType type, |
| 148 long long size, | 152 long long size, |
| 149 fileapi::FileSystemCallbackDispatcher* dispatcher) { | 153 fileapi::FileSystemCallbackDispatcher* dispatcher) { |
| 150 return false; | 154 return false; |
| 151 } | 155 } |
| 152 | 156 |
| 153 bool MockPluginDelegate::MakeDirectory( | 157 bool MockPluginDelegate::MakeDirectory( |
| 154 const GURL& path, | 158 const GURL& path, |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 MockPluginDelegate::CreateClipboardClient() const { | 453 MockPluginDelegate::CreateClipboardClient() const { |
| 450 return NULL; | 454 return NULL; |
| 451 } | 455 } |
| 452 | 456 |
| 453 std::string MockPluginDelegate::GetDeviceID() { | 457 std::string MockPluginDelegate::GetDeviceID() { |
| 454 return std::string(); | 458 return std::string(); |
| 455 } | 459 } |
| 456 | 460 |
| 457 } // namespace ppapi | 461 } // namespace ppapi |
| 458 } // namespace webkit | 462 } // namespace webkit |
| OLD | NEW |