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

Unified Diff: content/common/file_system/file_system_dispatcher.h

Issue 6833007: More filesystem cleanup: convert URL-encoded-as-FilePath to actual URL, where (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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: content/common/file_system/file_system_dispatcher.h
===================================================================
--- content/common/file_system/file_system_dispatcher.h (revision 81454)
+++ content/common/file_system/file_system_dispatcher.h (working copy)
@@ -38,39 +38,39 @@
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 @@
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,
« no previous file with comments | « content/browser/file_system/file_system_dispatcher_host.cc ('k') | content/common/file_system/file_system_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698