| Index: ui/file_manager/file_manager/foreground/js/directory_contents.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/directory_contents.js b/ui/file_manager/file_manager/foreground/js/directory_contents.js
|
| index 95266c38cc09e1265621f7094603612b01f31d90..8e8f53f02d99b53152bf941f0e2dcf769fa0bc2e 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/directory_contents.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/directory_contents.js
|
| @@ -598,7 +598,8 @@ FileListContext.createPrefetchPropertyNames_ = function() {
|
| * @param {FileListContext} context The file list context.
|
| * @param {boolean} isSearch True for search directory contents, otherwise
|
| * false.
|
| - * @param {DirectoryEntry} directoryEntry The entry of the current directory.
|
| + * @param {DirectoryEntry|FakeEntry} directoryEntry The entry of the current
|
| + * directory.
|
| * @param {function():ContentScanner} scannerFactory The factory to create
|
| * ContentScanner instance.
|
| * @constructor
|
| @@ -736,8 +737,8 @@ DirectoryContents.prototype.isSearch = function() {
|
| };
|
|
|
| /**
|
| - * @return {DirectoryEntry} A DirectoryEntry for current directory. In case of
|
| - * search -- the top directory from which search is run.
|
| + * @return {DirectoryEntry|FakeEntry} A DirectoryEntry for current directory.
|
| + * In case of search -- the top directory from which search is run.
|
| */
|
| DirectoryContents.prototype.getDirectoryEntry = function() {
|
| return this.directoryEntry_;
|
| @@ -1047,9 +1048,8 @@ DirectoryContents.createForLocalSearch = function(
|
| * on Drive File System.
|
| *
|
| * @param {FileListContext} context File list context.
|
| - * @param {DirectoryEntry} fakeDirectoryEntry Fake directory entry representing
|
| - * the set of result entries. This serves as a top directory for the
|
| - * search.
|
| + * @param {!FakeEntry} fakeDirectoryEntry Fake directory entry representing the
|
| + * set of result entries. This serves as a top directory for the search.
|
| * @param {!DriveMetadataSearchContentScanner.SearchType} searchType The type of
|
| * the search. The scanner will restricts the entries based on the given
|
| * type.
|
|
|