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

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

Issue 1104463004: Fix closure compiling error of file manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/file_manager_commands.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d1736ca00eccc345529f9f04e027583ee241978e..761dc6cc99ddbb49217ef4f197c14692f19ad534 100644
--- a/third_party/closure_compiler/externs/file_manager_private.js
+++ b/third_party/closure_compiler/externs/file_manager_private.js
@@ -201,6 +201,16 @@ var DriveConnectionState;
var DeviceEvent;
/**
+ * @typedef {{
+ * extensionId: string,
+ * name: string,
+ * canConfigure: boolean,
+ * canAdd: boolean
+ * }}
+ */
+var ProvidingExtension;
+
+/**
* @const
*/
chrome.fileManagerPrivate = {};
@@ -580,6 +590,30 @@ chrome.fileManagerPrivate.setEntryTag = function(entryURL, visibility, key, valu
*/
chrome.fileManagerPrivate.isPiexLoaderEnabled = function(callback) {};
+/**
+ * Returns list of available providing extensions.
+ * @param {function(!Array<!ProvidingExtension>)} callback
+ */
+chrome.fileManagerPrivate.getProvidingExtensions = function(callback) {};
+
+/**
+ * Requests adding a new provided file system. If not possible, then an error
+ * via chrome.runtime.lastError is returned.
+ * @param {string} extensionId
+ * @param {function()} callback
+ */
+chrome.fileManagerPrivate.addProvidedFileSystem =
+ function(extensionId, callback) {};
+
+/**
+ * Requests configuring an existing file system. If not possible, then returns
+ * an error via chrome.runtime.lastError.
+ * @param {string} volumeId
+ * @param {function()} callback
+ */
+chrome.fileManagerPrivate.configureProvidedFileSystem =
+ function(volumeId, callback) {};
+
/** @type {!ChromeEvent} */
chrome.fileManagerPrivate.onMountCompleted;
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/file_manager_commands.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698