Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 14796018: Cleanup: Deprecate FileSystemCallbackDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 PP_Resource resource) const { 166 PP_Resource resource) const {
167 return PP_FILESYSTEMTYPE_INVALID; 167 return PP_FILESYSTEMTYPE_INVALID;
168 } 168 }
169 169
170 GURL MockPluginDelegate::GetFileSystemRootUrl( 170 GURL MockPluginDelegate::GetFileSystemRootUrl(
171 PP_Instance instance, 171 PP_Instance instance,
172 PP_Resource resource) const { 172 PP_Resource resource) const {
173 return GURL(); 173 return GURL();
174 } 174 }
175 175
176 bool MockPluginDelegate::OpenFileSystem(
177 const GURL& origin_url,
178 fileapi::FileSystemType type,
179 long long size,
180 fileapi::FileSystemCallbackDispatcher* dispatcher) {
181 return false;
182 }
183
184 bool MockPluginDelegate::MakeDirectory( 176 bool MockPluginDelegate::MakeDirectory(
185 const GURL& path, 177 const GURL& path,
186 bool recursive, 178 bool recursive,
187 fileapi::FileSystemCallbackDispatcher* dispatcher) { 179 const StatusCallback& callback) {
188 return false; 180 return false;
189 } 181 }
190 182
191 bool MockPluginDelegate::Query( 183 bool MockPluginDelegate::Query(
192 const GURL& path, 184 const GURL& path,
193 fileapi::FileSystemCallbackDispatcher* dispatcher) { 185 const MetadataCallback& callback) {
194 return false; 186 return false;
195 } 187 }
196 188
197 bool MockPluginDelegate::ReadDirectoryEntries( 189 bool MockPluginDelegate::ReadDirectoryEntries(
198 const GURL& path, 190 const GURL& path,
199 fileapi::FileSystemCallbackDispatcher* dispatcher) { 191 const ReadDirectoryCallback& callback) {
200 return false; 192 return false;
201 } 193 }
202 194
203 bool MockPluginDelegate::Touch( 195 bool MockPluginDelegate::Touch(
204 const GURL& path, 196 const GURL& path,
205 const base::Time& last_access_time, 197 const base::Time& last_access_time,
206 const base::Time& last_modified_time, 198 const base::Time& last_modified_time,
207 fileapi::FileSystemCallbackDispatcher* dispatcher) { 199 const StatusCallback& callback) {
208 return false; 200 return false;
209 } 201 }
210 202
211 bool MockPluginDelegate::SetLength( 203 bool MockPluginDelegate::SetLength(
212 const GURL& path, 204 const GURL& path,
213 int64_t length, 205 int64_t length,
214 fileapi::FileSystemCallbackDispatcher* dispatcher) { 206 const StatusCallback& callback) {
215 return false; 207 return false;
216 } 208 }
217 209
218 bool MockPluginDelegate::Delete( 210 bool MockPluginDelegate::Delete(
219 const GURL& path, 211 const GURL& path,
220 fileapi::FileSystemCallbackDispatcher* dispatcher) { 212 const StatusCallback& callback) {
221 return false; 213 return false;
222 } 214 }
223 215
224 bool MockPluginDelegate::Rename( 216 bool MockPluginDelegate::Rename(
225 const GURL& file_path, 217 const GURL& file_path,
226 const GURL& new_file_path, 218 const GURL& new_file_path,
227 fileapi::FileSystemCallbackDispatcher* dispatcher) { 219 const StatusCallback& callback) {
228 return false; 220 return false;
229 } 221 }
230 222
231 bool MockPluginDelegate::ReadDirectory( 223 bool MockPluginDelegate::ReadDirectory(
232 const GURL& directory_path, 224 const GURL& directory_path,
233 fileapi::FileSystemCallbackDispatcher* dispatcher) { 225 const ReadDirectoryCallback& callback) {
234 return false; 226 return false;
235 } 227 }
236 228
237 void MockPluginDelegate::QueryAvailableSpace( 229 void MockPluginDelegate::QueryAvailableSpace(
238 const GURL& origin, quota::StorageType type, 230 const GURL& origin, quota::StorageType type,
239 const AvailableSpaceCallback& callback) { 231 const AvailableSpaceCallback& callback) {
240 } 232 }
241 233
242 void MockPluginDelegate::WillUpdateFile(const GURL& file_path) { 234 void MockPluginDelegate::WillUpdateFile(const GURL& file_path) {
243 } 235 }
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 bool should_close_source) const { 405 bool should_close_source) const {
414 return IPC::InvalidPlatformFileForTransit(); 406 return IPC::InvalidPlatformFileForTransit();
415 } 407 }
416 408
417 bool MockPluginDelegate::IsRunningInProcess(PP_Instance instance) const { 409 bool MockPluginDelegate::IsRunningInProcess(PP_Instance instance) const {
418 return false; 410 return false;
419 } 411 }
420 412
421 } // namespace ppapi 413 } // namespace ppapi
422 } // namespace webkit 414 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698