Index: chrome/browser/chromeos/extensions/file_handler_util.h |
diff --git a/chrome/browser/chromeos/extensions/file_handler_util.h b/chrome/browser/chromeos/extensions/file_handler_util.h |
index 3c939f8e78244a836af7a9fb416a01f5e8c0e930..6b62fb4720b0d91b3143f9d412f99923fbed918f 100644 |
--- a/chrome/browser/chromeos/extensions/file_handler_util.h |
+++ b/chrome/browser/chromeos/extensions/file_handler_util.h |
@@ -22,6 +22,10 @@ namespace extensions { |
class Extension; |
} // namespace extensions |
+namespace fileapi { |
+class FileSystemURL; |
+} |
+ |
namespace file_handler_util { |
// Specifies the task type for a task id that represents some file action, Drive |
@@ -103,7 +107,7 @@ class FileTaskExecutor : public base::RefCountedThreadSafe<FileTaskExecutor> { |
const std::string& action_id); |
// Same as ExecuteAndNotify, but no notification is performed. |
- virtual bool Execute(const std::vector<GURL>& file_urls); |
+ virtual bool Execute(const std::vector<fileapi::FileSystemURL>& file_urls); |
// Initiates execution of file handler task for each element of |file_urls|. |
// Return |false| if the execution cannot be initiated. Otherwise returns |
@@ -111,8 +115,9 @@ class FileTaskExecutor : public base::RefCountedThreadSafe<FileTaskExecutor> { |
// been handled. If there is an error during processing the list of files, the |
// caller will be informed of the failure via |done|, and the rest of |
// the files will not be processed. |
- virtual bool ExecuteAndNotify(const std::vector<GURL>& file_urls, |
- const FileTaskFinishedCallback& done) = 0; |
+ virtual bool ExecuteAndNotify( |
+ const std::vector<fileapi::FileSystemURL>& file_urls, |
+ const FileTaskFinishedCallback& done) = 0; |
protected: |
explicit FileTaskExecutor(Profile* profile, |
@@ -123,7 +128,8 @@ class FileTaskExecutor : public base::RefCountedThreadSafe<FileTaskExecutor> { |
// Checks if the file browser extension had file access permissions for the |
// list of files. |
- bool FileBrowserHasAccessPermissionForFiles(const std::vector<GURL>& files); |
+ bool FileBrowserHasAccessPermissionForFiles( |
+ const std::vector<fileapi::FileSystemURL>& files); |
// Returns the profile that this task was created with. |
Profile* profile() { return profile_; } |