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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_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
Index: ui/file_manager/file_manager/foreground/js/file_manager.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager.js b/ui/file_manager/file_manager/foreground/js/file_manager.js
index f00c03a4326dd6cb18a2a5b5eee5dbe92e25dde4..dc54a5fb346ca9574ef7d5597b78401c83d0bbc0 100644
--- a/ui/file_manager/file_manager/foreground/js/file_manager.js
+++ b/ui/file_manager/file_manager/foreground/js/file_manager.js
@@ -1147,7 +1147,7 @@ FileManager.prototype = /** @struct */ {
};
/**
- * @param {DirectoryEntry} directoryEntry Directory to be opened.
+ * @param {!DirectoryEntry} directoryEntry Directory to be opened.
* @param {Entry=} opt_selectionEntry Entry to be selected.
* @param {string=} opt_suggestedName Suggested name for a non-existing\
* selection.
@@ -1222,9 +1222,9 @@ FileManager.prototype = /** @struct */ {
/**
* Return DirectoryEntry of the current directory or null.
- * @return {DirectoryEntry} DirectoryEntry of the current directory. Returns
- * null if the directory model is not ready or the current directory is
- * not set.
+ * @return {DirectoryEntry|FakeEntry} DirectoryEntry of the current directory.
+ * Returns null if the directory model is not ready or the current
+ * directory is not set.
*/
FileManager.prototype.getCurrentDirectoryEntry = function() {
return this.directoryModel_ && this.directoryModel_.getCurrentDirEntry();

Powered by Google App Engine
This is Rietveld 408576698