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

Unified Diff: chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h

Issue 1239043002: Add support for actions for multiple file selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed externs. Created 5 years, 3 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/file_system_provider/provided_file_system_interface.h
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
index 6f45d0c6f038ba9396a014361ea10e634cd0f336..8bf718c2e165d22f948d3dadd384d43d15576f99 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
@@ -119,14 +119,15 @@ class ProvidedFileSystemInterface {
MetadataFieldMask fields,
const GetMetadataCallback& callback) = 0;
- // Requests list of actions for the passed |entry_path|. It can be either a
- // file or a directory.
- virtual AbortCallback GetActions(const base::FilePath& entry_path,
- const GetActionsCallback& callback) = 0;
+ // Requests list of actions for the passed list of entries at |entry_paths|.
+ // They can be either files or directories.
+ virtual AbortCallback GetActions(
+ const std::vector<base::FilePath>& entry_paths,
+ const GetActionsCallback& callback) = 0;
- // Executes the |action_id| action on the entry at |entry_path|.
+ // Executes the |action_id| action on the list of entries at |entry_paths|.
virtual AbortCallback ExecuteAction(
- const base::FilePath& entry_path,
+ const std::vector<base::FilePath>& entry_paths,
const std::string& action_id,
const storage::AsyncFileUtil::StatusCallback& callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698