| 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 b1236a974937a5c31e38da49000467a240658a20..af84cabad1a6d911ce05f1e828a1367aee98c655 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/directory_contents.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/directory_contents.js
|
| @@ -257,7 +257,7 @@ LocalSearchContentScanner.prototype.scan = function(
|
|
|
| /**
|
| * Scanner of the entries for the metadata search on Drive File System.
|
| - * @param {!DriveMetadataSearchContentScanner.SearchType} searchType The option
|
| + * @param {chrome.fileManagerPrivate.SearchType} searchType The option
|
| * of the search.
|
| * @constructor
|
| * @extends {ContentScanner}
|
| @@ -274,18 +274,6 @@ DriveMetadataSearchContentScanner.prototype.__proto__ =
|
| ContentScanner.prototype;
|
|
|
| /**
|
| - * The search types on the Drive File System.
|
| - * @enum {string}
|
| - */
|
| -DriveMetadataSearchContentScanner.SearchType = {
|
| - SEARCH_ALL: 'ALL',
|
| - SEARCH_SHARED_WITH_ME: 'SHARED_WITH_ME',
|
| - SEARCH_RECENT_FILES: 'EXCLUDE_DIRECTORIES',
|
| - SEARCH_OFFLINE: 'OFFLINE'
|
| -};
|
| -Object.freeze(DriveMetadataSearchContentScanner.SearchType);
|
| -
|
| -/**
|
| * Starts to metadata-search on Drive File System.
|
| * @override
|
| */
|
| @@ -908,7 +896,7 @@ DirectoryContents.createForLocalSearch = function(
|
| * @param {FileListContext} context File list context.
|
| * @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
|
| + * @param {chrome.fileManagerPrivate.SearchType} searchType The type of
|
| * the search. The scanner will restricts the entries based on the given
|
| * type.
|
| * @return {DirectoryContents} Created DirectoryContents instance.
|
|
|