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

Unified Diff: third_party/closure_compiler/externs/file_manager_private.js

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: third_party/closure_compiler/externs/file_manager_private.js
diff --git a/third_party/closure_compiler/externs/file_manager_private.js b/third_party/closure_compiler/externs/file_manager_private.js
index 47478ad00ac5edb032197dba93edff837216756d..74d87f09cd0e79aa49c0ec00b9a1fc13d58de630 100644
--- a/third_party/closure_compiler/externs/file_manager_private.js
+++ b/third_party/closure_compiler/externs/file_manager_private.js
@@ -641,22 +641,22 @@ chrome.fileManagerPrivate.addProvidedFileSystem =
chrome.fileManagerPrivate.configureVolume = function(volumeId, callback) {};
/**
- * Requests fetching list of actions for the specified entry. If not possible,
- * then returns an error via chrome.runtime.lastError.
- * @param {!Entry} entry
+ * Requests fetching list of actions for the specified set of entries. If not
+ * possible, then returns an error via chrome.runtime.lastError.
+ * @param {!Array<!Entry>} entries
* @param {function((!Array<!EntryAction>|undefined))} callback
*/
-chrome.fileManagerPrivate.getEntryActions = function(entry, callback) {};
+chrome.fileManagerPrivate.getCustomActions = function(entries, callback) {};
/**
- * Executes the action on the specified entry. If not possible, then returns an
- * error via chrome.runtime.lastError.
- * @param {!Entry} entry
+ * Executes the action on the specified set of entries. If not possible, then
+ * returns an error via chrome.runtime.lastError.
+ * @param {!Array<!Entry>} entries
* @param {string} actionId
* @param {function()} callback
*/
chrome.fileManagerPrivate.executeAction = function(
- entry, actionId, callback) {};
+ entries, actionId, callback) {};
/** @type {!ChromeEvent} */
chrome.fileManagerPrivate.onMountCompleted;

Powered by Google App Engine
This is Rietveld 408576698