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

Unified Diff: webkit/fileapi/file_system_file_util_proxy.h

Issue 8231004: Remaining cleanup (base::Bind): Replacing FileUtilProxy calls with new callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 2 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/fileapi/file_system_file_util_proxy.h
diff --git a/webkit/fileapi/file_system_file_util_proxy.h b/webkit/fileapi/file_system_file_util_proxy.h
index 8fdf03b36a2b23a793b6dff1267ba3f95a8679b8..a3e85e517cd747daf2a70fc7ac9aa61f07e5ed3a 100644
--- a/webkit/fileapi/file_system_file_util_proxy.h
+++ b/webkit/fileapi/file_system_file_util_proxy.h
@@ -33,19 +33,24 @@ using base::PlatformFileInfo;
// FileSystem API.
class FileSystemFileUtilProxy {
public:
+ typedef base::FileUtilProxy::Entry Entry;
+
typedef base::FileUtilProxy::StatusCallback StatusCallback;
typedef base::FileUtilProxy::CreateOrOpenCallback CreateOrOpenCallback;
- typedef base::FileUtilProxy::EnsureFileExistsCallback
- EnsureFileExistsCallback;
- typedef base::Callback<
- void(PlatformFileError /* error code */,
- const PlatformFileInfo& /* file_info */,
- const FilePath& /* platform_path, where possible */)>
- GetFileInfoCallback;
+ typedef base::Callback<void(PlatformFileError,
+ bool /* created */
+ )> EnsureFileExistsCallback;
+ typedef base::Callback<void(PlatformFileError,
+ const PlatformFileInfo&,
+ const FilePath& /* platform_path */
+ )> GetFileInfoCallback;
+ typedef base::Callback<void(PlatformFileError,
+ const std::vector<Entry>&
+ )> ReadDirectoryCallback;
+
typedef Callback2<PlatformFileError /* error code */,
const FilePath& /* local_path, where possible */
>::Type GetLocalPathCallback;
- typedef base::FileUtilProxy::ReadDirectoryCallback ReadDirectoryCallback;
// Creates or opens a file with the given flags. It is invalid to pass NULL
// for the callback.

Powered by Google App Engine
This is Rietveld 408576698