| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
| 8 #include "ppapi/c/pp_errors.h" | 8 #include "ppapi/c/pp_errors.h" |
| 9 #include "ppapi/shared_impl/ppapi_preferences.h" | 9 #include "ppapi/shared_impl/ppapi_preferences.h" |
| 10 | 10 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 fileapi::FileSystemCallbackDispatcher* dispatcher) { | 129 fileapi::FileSystemCallbackDispatcher* dispatcher) { |
| 130 return false; | 130 return false; |
| 131 } | 131 } |
| 132 | 132 |
| 133 bool MockPluginDelegate::ReadDirectory( | 133 bool MockPluginDelegate::ReadDirectory( |
| 134 const GURL& directory_path, | 134 const GURL& directory_path, |
| 135 fileapi::FileSystemCallbackDispatcher* dispatcher) { | 135 fileapi::FileSystemCallbackDispatcher* dispatcher) { |
| 136 return false; | 136 return false; |
| 137 } | 137 } |
| 138 | 138 |
| 139 void MockPluginDelegate::QueryAvailableSpace( |
| 140 const GURL& origin, quota::StorageType type, |
| 141 AvailableSpaceCallback* callback) { |
| 142 } |
| 143 |
| 144 void MockPluginDelegate::WillUpdateFile(const GURL& file_path) { |
| 145 } |
| 146 |
| 147 void MockPluginDelegate::DidUpdateFile(const GURL& file_path, int64_t delta) { |
| 148 } |
| 149 |
| 139 base::PlatformFileError MockPluginDelegate::OpenFile( | 150 base::PlatformFileError MockPluginDelegate::OpenFile( |
| 140 const PepperFilePath& path, | 151 const PepperFilePath& path, |
| 141 int flags, | 152 int flags, |
| 142 base::PlatformFile* file) { | 153 base::PlatformFile* file) { |
| 143 return base::PLATFORM_FILE_ERROR_FAILED; | 154 return base::PLATFORM_FILE_ERROR_FAILED; |
| 144 } | 155 } |
| 145 | 156 |
| 146 base::PlatformFileError MockPluginDelegate::RenameFile( | 157 base::PlatformFileError MockPluginDelegate::RenameFile( |
| 147 const PepperFilePath& from_path, | 158 const PepperFilePath& from_path, |
| 148 const PepperFilePath& to_path) { | 159 const PepperFilePath& to_path) { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 uint32_t size) { | 264 uint32_t size) { |
| 254 return NULL; | 265 return NULL; |
| 255 } | 266 } |
| 256 | 267 |
| 257 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { | 268 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { |
| 258 return ::ppapi::Preferences(); | 269 return ::ppapi::Preferences(); |
| 259 } | 270 } |
| 260 | 271 |
| 261 } // namespace ppapi | 272 } // namespace ppapi |
| 262 } // namespace webkit | 273 } // namespace webkit |
| OLD | NEW |