diff options
Diffstat (limited to 'content/common/file_system/file_system_dispatcher.h')
-rw-r--r-- | content/common/file_system/file_system_dispatcher.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/content/common/file_system/file_system_dispatcher.h b/content/common/file_system/file_system_dispatcher.h index e61a518..b898eae 100644 --- a/content/common/file_system/file_system_dispatcher.h +++ b/content/common/file_system/file_system_dispatcher.h @@ -38,39 +38,39 @@ class FileSystemDispatcher : public IPC::Channel::Listener { long long size, bool create, fileapi::FileSystemCallbackDispatcher* dispatcher); - bool Move(const FilePath& src_path, - const FilePath& dest_path, + bool Move(const GURL& src_path, + const GURL& dest_path, fileapi::FileSystemCallbackDispatcher* dispatcher); - bool Copy(const FilePath& src_path, - const FilePath& dest_path, + bool Copy(const GURL& src_path, + const GURL& dest_path, fileapi::FileSystemCallbackDispatcher* dispatcher); - bool Remove(const FilePath& path, + bool Remove(const GURL& path, bool recursive, fileapi::FileSystemCallbackDispatcher* dispatcher); - bool ReadMetadata(const FilePath& path, + bool ReadMetadata(const GURL& path, fileapi::FileSystemCallbackDispatcher* dispatcher); - bool Create(const FilePath& path, + bool Create(const GURL& path, bool exclusive, bool is_directory, bool recursive, fileapi::FileSystemCallbackDispatcher* dispatcher); - bool Exists(const FilePath& path, + bool Exists(const GURL& path, bool for_directory, fileapi::FileSystemCallbackDispatcher* dispatcher); - bool ReadDirectory(const FilePath& path, + bool ReadDirectory(const GURL& path, fileapi::FileSystemCallbackDispatcher* dispatcher); - bool Truncate(const FilePath& path, + bool Truncate(const GURL& path, int64 offset, int* request_id_out, fileapi::FileSystemCallbackDispatcher* dispatcher); - bool Write(const FilePath& path, + bool Write(const GURL& path, const GURL& blob_url, int64 offset, int* request_id_out, fileapi::FileSystemCallbackDispatcher* dispatcher); bool Cancel(int request_id_to_cancel, fileapi::FileSystemCallbackDispatcher* dispatcher); - bool TouchFile(const FilePath& file_path, + bool TouchFile(const GURL& file_path, const base::Time& last_access_time, const base::Time& last_modified_time, fileapi::FileSystemCallbackDispatcher* dispatcher); @@ -81,7 +81,7 @@ class FileSystemDispatcher : public IPC::Channel::Listener { int request_id, bool accepted, const std::string& name, - const FilePath& root_path); + const GURL& root); void OnDidSucceed(int request_id); void OnDidReadMetadata(int request_id, const base::PlatformFileInfo& file_info, |