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

Unified Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

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 side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/mock_plugin_delegate.h
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.h b/webkit/plugins/ppapi/mock_plugin_delegate.h
index a059aa135d6eb3a79cb995c40afc003be99663bf..a7a899ef4d527d3315d9e17ce16476626fd75973 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.h
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.h
@@ -77,35 +77,30 @@ class MockPluginDelegate : public PluginDelegate {
PP_Resource resource) const;
virtual GURL GetFileSystemRootUrl(PP_Instance instance,
PP_Resource resource) const;
- virtual bool OpenFileSystem(
- const GURL& origin_url,
- fileapi::FileSystemType type,
- long long size,
- fileapi::FileSystemCallbackDispatcher* dispatcher);
virtual bool MakeDirectory(
const GURL& path,
bool recursive,
- fileapi::FileSystemCallbackDispatcher* dispatcher);
+ const StatusCallback& callback);
virtual bool Query(const GURL& path,
- fileapi::FileSystemCallbackDispatcher* dispatcher);
+ const MetadataCallback& callback);
virtual bool ReadDirectoryEntries(
const GURL& path,
- fileapi::FileSystemCallbackDispatcher* dispatcher);
+ const ReadDirectoryCallback& callback);
virtual bool Touch(const GURL& path,
const base::Time& last_access_time,
const base::Time& last_modified_time,
- fileapi::FileSystemCallbackDispatcher* dispatcher);
+ const StatusCallback& callback);
virtual bool SetLength(const GURL& path,
int64_t length,
- fileapi::FileSystemCallbackDispatcher* dispatcher);
+ const StatusCallback& callback);
virtual bool Delete(const GURL& path,
- fileapi::FileSystemCallbackDispatcher* dispatcher);
+ const StatusCallback& callback);
virtual bool Rename(const GURL& file_path,
const GURL& new_file_path,
- fileapi::FileSystemCallbackDispatcher* dispatcher);
+ const StatusCallback& callback);
virtual bool ReadDirectory(
const GURL& directory_path,
- fileapi::FileSystemCallbackDispatcher* dispatcher);
+ const ReadDirectoryCallback& callback);
virtual void QueryAvailableSpace(const GURL& origin,
quota::StorageType type,
const AvailableSpaceCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698