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

Unified Diff: ui/file_manager/file_manager/background/js/file_operation_manager.js

Issue 1010163002: Files.app: Fix closure error which will raised by the updated compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Define FakeEntry record type and use it. Created 5 years, 9 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 | « ui/file_manager/externs/webview_tag.js ('k') | ui/file_manager/file_manager/background/js/task_queue.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/background/js/file_operation_manager.js
diff --git a/ui/file_manager/file_manager/background/js/file_operation_manager.js b/ui/file_manager/file_manager/background/js/file_operation_manager.js
index b6fc71966fa777c4dfc231ef8399a8be772c5b01..28d4312a570095f0e3bbf3eaec89998450ec53bc 100644
--- a/ui/file_manager/file_manager/background/js/file_operation_manager.js
+++ b/ui/file_manager/file_manager/background/js/file_operation_manager.js
@@ -115,8 +115,8 @@ FileOperationManager.prototype.requestTaskCancel = function(taskId) {
* Filters the entry in the same directory
*
* @param {Array.<Entry>} sourceEntries Entries of the source files.
- * @param {DirectoryEntry} targetEntry The destination entry of the target
- * directory.
+ * @param {DirectoryEntry|FakeEntry} targetEntry The destination entry of the
+ * target directory.
* @param {boolean} isMove True if the operation is "move", otherwise (i.e.
* if the operation is "copy") false.
* @return {Promise} Promise fulfilled with the filtered entry. This is not
« no previous file with comments | « ui/file_manager/externs/webview_tag.js ('k') | ui/file_manager/file_manager/background/js/task_queue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698