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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_misc.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/extensions/file_manager/private_api_misc.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
index bbab3361aee590109a2e2d77dd3e1f4cf68f5eba..4a3676ac7de8ce0bf74dac896bddce3f9e836d9b 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
@@ -230,15 +230,15 @@ class FileManagerPrivateConfigureVolumeFunction
DISALLOW_COPY_AND_ASSIGN(FileManagerPrivateConfigureVolumeFunction);
};
-// Implements the chrome.fileManagerPrivate.getEntryActions method.
-class FileManagerPrivateInternalGetEntryActionsFunction
+// Implements the chrome.fileManagerPrivate.getCustomActions method.
+class FileManagerPrivateInternalGetCustomActionsFunction
: public UIThreadExtensionFunction {
public:
- FileManagerPrivateInternalGetEntryActionsFunction();
- DECLARE_EXTENSION_FUNCTION("fileManagerPrivateInternal.getEntryActions",
- FILEMANAGERPRIVATEINTERNAL_GETENTRYACTIONS)
+ FileManagerPrivateInternalGetCustomActionsFunction();
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivateInternal.getCustomActions",
+ FILEMANAGERPRIVATEINTERNAL_GETCUSTOMACTIONS)
protected:
- ~FileManagerPrivateInternalGetEntryActionsFunction() override {}
+ ~FileManagerPrivateInternalGetCustomActionsFunction() override {}
private:
ResponseAction Run() override;
@@ -246,18 +246,18 @@ class FileManagerPrivateInternalGetEntryActionsFunction
base::File::Error result);
const ChromeExtensionFunctionDetails chrome_details_;
- DISALLOW_COPY_AND_ASSIGN(FileManagerPrivateInternalGetEntryActionsFunction);
+ DISALLOW_COPY_AND_ASSIGN(FileManagerPrivateInternalGetCustomActionsFunction);
};
-// Implements the chrome.fileManagerPrivate.executeEntryAction method.
-class FileManagerPrivateInternalExecuteEntryActionFunction
+// Implements the chrome.fileManagerPrivate.executeCustomAction method.
+class FileManagerPrivateInternalExecuteCustomActionFunction
: public UIThreadExtensionFunction {
public:
- FileManagerPrivateInternalExecuteEntryActionFunction();
- DECLARE_EXTENSION_FUNCTION("fileManagerPrivateInternal.executeEntryAction",
- FILEMANAGERPRIVATEINTERNAL_EXECUTEENTRYACTION)
+ FileManagerPrivateInternalExecuteCustomActionFunction();
+ DECLARE_EXTENSION_FUNCTION("fileManagerPrivateInternal.executeCustomAction",
+ FILEMANAGERPRIVATEINTERNAL_EXECUTECUSTOMACTION)
protected:
- ~FileManagerPrivateInternalExecuteEntryActionFunction() override {}
+ ~FileManagerPrivateInternalExecuteCustomActionFunction() override {}
private:
ResponseAction Run() override;
@@ -265,7 +265,7 @@ class FileManagerPrivateInternalExecuteEntryActionFunction
const ChromeExtensionFunctionDetails chrome_details_;
DISALLOW_COPY_AND_ASSIGN(
- FileManagerPrivateInternalExecuteEntryActionFunction);
+ FileManagerPrivateInternalExecuteCustomActionFunction);
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698