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

Unified Diff: content/browser/file_system/file_system_dispatcher_host.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/browser/file_system/file_system_dispatcher_host.h
===================================================================
--- content/browser/file_system/file_system_dispatcher_host.h (revision 81454)
+++ content/browser/file_system/file_system_dispatcher_host.h (working copy)
@@ -17,7 +17,6 @@
}
class ChromeURLRequestContext;
-class FilePath;
class GURL;
class HostContentSettingsMap;
class Profile;
@@ -56,27 +55,27 @@
int64 requested_size,
bool create);
void OnMove(int request_id,
- const FilePath& src_path,
- const FilePath& dest_path);
+ const GURL& src_path,
+ const GURL& dest_path);
void OnCopy(int request_id,
- const FilePath& src_path,
- const FilePath& dest_path);
- void OnRemove(int request_id, const FilePath& path, bool recursive);
- void OnReadMetadata(int request_id, const FilePath& path);
+ const GURL& src_path,
+ const GURL& dest_path);
+ void OnRemove(int request_id, const GURL& path, bool recursive);
+ void OnReadMetadata(int request_id, const GURL& path);
void OnCreate(int request_id,
- const FilePath& path,
+ const GURL& path,
bool exclusive,
bool is_directory,
bool recursive);
- void OnExists(int request_id, const FilePath& path, bool is_directory);
- void OnReadDirectory(int request_id, const FilePath& path);
+ void OnExists(int request_id, const GURL& path, bool is_directory);
+ void OnReadDirectory(int request_id, const GURL& path);
void OnWrite(int request_id,
- const FilePath& path,
+ const GURL& path,
const GURL& blob_url,
int64 offset);
- void OnTruncate(int request_id, const FilePath& path, int64 length);
+ void OnTruncate(int request_id, const GURL& path, int64 length);
void OnTouchFile(int request_id,
- const FilePath& path,
+ const GURL& path,
const base::Time& last_access_time,
const base::Time& last_modified_time);
void OnCancel(int request_id, int request_to_cancel);

Powered by Google App Engine
This is Rietveld 408576698