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

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: Better documentation. Created 5 years, 5 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..47f7efd9aab06dfb184688c2679e9677ace5d410 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
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERFACE_H_
#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERFACE_H_
+#include <set>
#include <string>
#include <vector>
@@ -119,14 +120,14 @@ 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,
+ // Requests list of actions for the passed set of entries at |entry_paths|.
+ // They can be either files or directories.
+ virtual AbortCallback GetActions(const std::set<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 set of entries at |entry_paths|.
virtual AbortCallback ExecuteAction(
- const base::FilePath& entry_path,
+ const std::set<base::FilePath>& entry_paths,
const std::string& action_id,
const storage::AsyncFileUtil::StatusCallback& callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698