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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/mock_plugin_delegate.cc
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.cc b/webkit/plugins/ppapi/mock_plugin_delegate.cc
index feccd2fa4cec1c1ff7cccfb37f53969cc7e36360..de24b2fb4ad8d3c82df4b1603d71d689f643575e 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.cc
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc
@@ -173,30 +173,24 @@ GURL MockPluginDelegate::GetFileSystemRootUrl(
return GURL();
}
-bool MockPluginDelegate::OpenFileSystem(
- const GURL& origin_url,
- fileapi::FileSystemType type,
- long long size,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
- return false;
-}
-
bool MockPluginDelegate::MakeDirectory(
const GURL& path,
bool recursive,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
+ const StatusCallback& callback) {
return false;
}
bool MockPluginDelegate::Query(
const GURL& path,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
+ const MetadataCallback& success_callback,
+ const StatusCallback& error_callback) {
return false;
}
bool MockPluginDelegate::ReadDirectoryEntries(
const GURL& path,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
+ const ReadDirectoryCallback& success_callback,
+ const StatusCallback& error_callback) {
return false;
}
@@ -204,33 +198,34 @@ bool MockPluginDelegate::Touch(
const GURL& path,
const base::Time& last_access_time,
const base::Time& last_modified_time,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
+ const StatusCallback& callback) {
return false;
}
bool MockPluginDelegate::SetLength(
const GURL& path,
int64_t length,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
+ const StatusCallback& callback) {
return false;
}
bool MockPluginDelegate::Delete(
const GURL& path,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
+ const StatusCallback& callback) {
return false;
}
bool MockPluginDelegate::Rename(
const GURL& file_path,
const GURL& new_file_path,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
+ const StatusCallback& callback) {
return false;
}
bool MockPluginDelegate::ReadDirectory(
const GURL& directory_path,
- fileapi::FileSystemCallbackDispatcher* dispatcher) {
+ const ReadDirectoryCallback& success_callback,
+ const StatusCallback& error_callback) {
return false;
}
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698