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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/execute_action.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/operations/execute_action.h
diff --git a/chrome/browser/chromeos/file_system_provider/operations/execute_action.h b/chrome/browser/chromeos/file_system_provider/operations/execute_action.h
index f6739279cb05a98b041878a4c76d8cffcc2aeea7..abc51cc287626ecb31f6009ec5e6878a9b3dfffb 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/execute_action.h
+++ b/chrome/browser/chromeos/file_system_provider/operations/execute_action.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_EXECUTE_ACTION_H_
#include <string>
+#include <vector>
#include "base/files/file.h"
#include "base/memory/scoped_ptr.h"
@@ -28,14 +29,14 @@ namespace chromeos {
namespace file_system_provider {
namespace operations {
-// Bridge between chrome.fileManagerPrivate.executeEntryAction operation and
+// Bridge between chrome.fileManagerPrivate.executeCustomAction operation and
// the providing extension's onExecuteActionRequested event. Created per
// request.
class ExecuteAction : public Operation {
public:
ExecuteAction(extensions::EventRouter* event_router,
const ProvidedFileSystemInfo& file_system_info,
- const base::FilePath& entry_path,
+ const std::vector<base::FilePath>& entry_path,
const std::string& action_id,
const storage::AsyncFileUtil::StatusCallback& callback);
~ExecuteAction() override;
@@ -50,7 +51,7 @@ class ExecuteAction : public Operation {
base::File::Error error) override;
private:
- const base::FilePath entry_path_;
+ const std::vector<base::FilePath> entry_paths_;
const std::string action_id_;
const storage::AsyncFileUtil::StatusCallback callback_;

Powered by Google App Engine
This is Rietveld 408576698