Index: chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h |
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h |
index 82813ff30729a860d280c9dda522618ff8b65d1d..2c0c969bc6abedc33987d8d12883881e09e81afe 100644 |
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h |
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h |
@@ -11,7 +11,7 @@ |
#include "base/files/file.h" |
#include "base/files/file_path.h" |
#include "base/memory/weak_ptr.h" |
-#include "webkit/browser/fileapi/async_file_util.h" |
+#include "storage/browser/fileapi/async_file_util.h" |
class EventRouter; |
@@ -65,7 +65,7 @@ class ProvidedFileSystemInterface { |
// Requests unmounting of the file system. The callback is called when the |
// request is accepted or rejected, with an error code. |
virtual void RequestUnmount( |
- const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ const storage::AsyncFileUtil::StatusCallback& callback) = 0; |
// Requests metadata of the passed |entry_path|. It can be either a file |
// or a directory. |
@@ -76,7 +76,7 @@ class ProvidedFileSystemInterface { |
// can be called multiple times until |has_more| is set to false. |
virtual void ReadDirectory( |
const base::FilePath& directory_path, |
- const fileapi::AsyncFileUtil::ReadDirectoryCallback& callback) = 0; |
+ const storage::AsyncFileUtil::ReadDirectoryCallback& callback) = 0; |
// Requests opening a file at |file_path|. If the file doesn't exist, then the |
// operation will fail. |
@@ -88,7 +88,7 @@ class ProvidedFileSystemInterface { |
// |file_handle|. For either succes or error |callback| must be called. |
virtual void CloseFile( |
int file_handle, |
- const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ const storage::AsyncFileUtil::StatusCallback& callback) = 0; |
// Requests reading a file previously opened with |file_handle|. The callback |
// can be called multiple times until |has_more| is set to false. On success |
@@ -107,40 +107,40 @@ class ProvidedFileSystemInterface { |
const base::FilePath& directory_path, |
bool exclusive, |
bool recursive, |
- const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ const storage::AsyncFileUtil::StatusCallback& callback) = 0; |
// Requests creating a file. If the entry already exists, then the |
// FILE_ERROR_EXISTS error must be returned. |
virtual void CreateFile( |
const base::FilePath& file_path, |
- const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ const storage::AsyncFileUtil::StatusCallback& callback) = 0; |
// Requests deleting a directory. If |recursive| is passed and the entry is |
// a directory, then all contents of it (recursively) will be deleted too. |
virtual void DeleteEntry( |
const base::FilePath& entry_path, |
bool recursive, |
- const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ const storage::AsyncFileUtil::StatusCallback& callback) = 0; |
// Requests copying an entry (recursively in case of a directory) within the |
// same file system. |
virtual void CopyEntry( |
const base::FilePath& source_path, |
const base::FilePath& target_path, |
- const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ const storage::AsyncFileUtil::StatusCallback& callback) = 0; |
// Requests moving an entry (recursively in case of a directory) within the |
// same file system. |
virtual void MoveEntry( |
const base::FilePath& source_path, |
const base::FilePath& target_path, |
- const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ const storage::AsyncFileUtil::StatusCallback& callback) = 0; |
// Requests truncating a file to the desired length. |
virtual void Truncate( |
const base::FilePath& file_path, |
int64 length, |
- const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ const storage::AsyncFileUtil::StatusCallback& callback) = 0; |
// Requests writing to a file previously opened with |file_handle|. |
virtual void WriteFile( |
@@ -148,7 +148,7 @@ class ProvidedFileSystemInterface { |
net::IOBuffer* buffer, |
int64 offset, |
int length, |
- const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ const storage::AsyncFileUtil::StatusCallback& callback) = 0; |
// Returns a provided file system info for this file system. |
virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0; |