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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_watcher.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
Index: ui/file_manager/file_manager/foreground/js/file_watcher.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_watcher.js b/ui/file_manager/file_manager/foreground/js/file_watcher.js
index dfd36ba81c436e64da547aa3682892ce94a791b1..1a0562c2af30ba400ece12e70287df9760c8233e 100644
--- a/ui/file_manager/file_manager/foreground/js/file_watcher.js
+++ b/ui/file_manager/file_manager/foreground/js/file_watcher.js
@@ -69,8 +69,8 @@ FileWatcher.prototype.onDirectoryChanged_ = function(event) {
* Changes the watched directory. In case of a fake entry, the watch is
* just released, since there is no reason to track a fake directory.
*
- * @param {!DirectoryEntry|!Object} entry Directory entry to be tracked, or the
- * fake entry.
+ * @param {!DirectoryEntry|!FakeEntry} entry Directory entry to be tracked, or
+ * the fake entry.
* @param {function()} callback Completion callback.
*/
FileWatcher.prototype.changeWatchedDirectory = function(entry, callback) {

Powered by Google App Engine
This is Rietveld 408576698