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 f36dd82771d77c1b49516a2095faa0eab226ff6b..197558814e1cf87f46a5f45db2e07715c3b36e32 100644 |
--- a/third_party/closure_compiler/externs/file_manager_private.js |
+++ b/third_party/closure_compiler/externs/file_manager_private.js |
@@ -442,6 +442,15 @@ chrome.fileManagerPrivate.searchDrive = function(searchParams, callback) {}; |
chrome.fileManagerPrivate.searchDriveMetadata = function(searchParams, callback) {}; |
/** |
+ * Search for files in the given volume, whose content hash matches the list of |
+ * given hashes. |
+ * @param {string} volumeId |
+ * @param {!Array<string>} hashes |
+ * @param {function(!Object<string, !Array<string>>)} callback |
+ */ |
+chrome.fileManagerPrivate.searchFilesByHashes = function(volumeId, hashes, callback) {}; |
+ |
+/** |
* Create a zip file for the selected files. |dirURL| URL of the directory |
* containing the selected files. |selectionUrls| URLs of the selected files. |
* The files must be under the directory specified by dirURL. |destName| |
@@ -551,6 +560,13 @@ chrome.fileManagerPrivate.visitDesktop = function(profileId, callback) {}; |
chrome.fileManagerPrivate.openInspector = function(type) {}; |
/** |
+ * Computes an MD5 checksum for the given file. |
+ * @param {string} fileUrl |
+ * @param {function(string)} callback |
+ */ |
+chrome.fileManagerPrivate.computeChecksum = function(fileUrl, callback) {}; |
+ |
+/** |
* Gets the MIME type of a file. |
* @param {string} fileUrl File url. |
* @param {function(string)} callback Callback that MIME type of the file is |