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 617dbeadf2d1e87e664138a8cf0ff83c1cfa30e7..c1d71dff0ac0f67b957163ae8359cb3720d64295 100644 |
--- a/webkit/fileapi/file_system_file_util_proxy.h |
+++ b/webkit/fileapi/file_system_file_util_proxy.h |
@@ -13,6 +13,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/platform_file.h" |
#include "base/tracked_objects.h" |
+#include "webkit/fileapi/file_system_file_util.h" |
#include "webkit/fileapi/file_system_operation_interface.h" |
namespace fileapi { |
@@ -39,11 +40,16 @@ class FileSystemFileUtilProxy { |
typedef base::Callback<void(PlatformFileError status, |
bool created)> EnsureFileExistsCallback; |
typedef FileSystemOperationInterface::GetMetadataCallback GetFileInfoCallback; |
- typedef FileSystemOperationInterface::SnapshotFileCallback |
- SnapshotFileCallback; |
typedef FileSystemOperationInterface::ReadDirectoryCallback |
ReadDirectoryCallback; |
+ typedef base::Callback< |
+ void(base::PlatformFileError result, |
+ const base::PlatformFileInfo& file_info, |
+ const FilePath& platform_path, |
+ FileSystemFileUtil::SnapshotFilePolicy snapshot_policy)> |
+ SnapshotFileCallback; |
+ |
// Deletes a file or a directory on the given context's file_task_runner. |
// It is an error to delete a non-empty directory with recursive=false. |
static bool Delete( |