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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_private_api.h

Issue 11787028: New FileSystemURL cracking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Couple of nits I noticed Created 7 years, 11 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: chrome/browser/chromeos/extensions/file_browser_private_api.h
diff --git a/chrome/browser/chromeos/extensions/file_browser_private_api.h b/chrome/browser/chromeos/extensions/file_browser_private_api.h
index eadc92c2f471e9772cb40b9fed5dcef42a204bee..83ca6bce0a59f47434adbbbe746fb3d0b85cae06 100644
--- a/chrome/browser/chromeos/extensions/file_browser_private_api.h
+++ b/chrome/browser/chromeos/extensions/file_browser_private_api.h
@@ -29,6 +29,7 @@ class Value;
namespace fileapi {
class FileSystemContext;
+class FileSystemURL;
}
namespace drive {
@@ -102,7 +103,7 @@ class FileWatchBrowserFunctionBase : public AsyncExtensionFunction {
void RespondOnUIThread(bool success);
void RunFileWatchOperationOnFileThread(
scoped_refptr<FileBrowserEventRouter> event_router,
- const GURL& file_url,
+ const fileapi::FileSystemURL& file_url,
const std::string& extension_id);
};
@@ -195,12 +196,12 @@ class GetFileTasksFileBrowserFunction : public AsyncExtensionFunction {
// Find the list of Web Intent tasks that can be used with the given file
// types, appending them to the |result_list|.
- bool FindWebIntentTasks(const std::vector<GURL>& file_urls,
+ bool FindWebIntentTasks(const std::vector<FilePath>& file_paths,
ListValue* result_list);
// Find the list of app file handlers that can be used with the given file
// types, appending them to the |result_list|.
- bool FindAppTasks(const std::vector<GURL>& file_urls,
+ bool FindAppTasks(const std::vector<FilePath>& file_paths,
ListValue* result_list);
};

Powered by Google App Engine
This is Rietveld 408576698