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

Unified Diff: ui/file_manager/file_manager/foreground/js/search_controller.js

Issue 651403002: Fix trivial type-check errors in file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and correct a comment. Created 6 years, 2 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/search_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/search_controller.js b/ui/file_manager/file_manager/foreground/js/search_controller.js
index faa817286924d9bcdbde6914f84a687e72529331..23c9bd21fe54d5bab7af7960a4337f08060ec66c 100644
--- a/ui/file_manager/file_manager/foreground/js/search_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/search_controller.js
@@ -6,7 +6,7 @@
/**
* Controller for searching.
- * @param {SearchBox} ui Search box UI element.
+ * @param {SearchBox} searchBox Search box UI element.
* @param {LocationLine} locationLine Location line UI element.
* @param {DirectoryModel} directoryModel Directory model.
* @param {{doAction: function(FileEntry)}} taskController Task controller to
@@ -22,7 +22,7 @@ function SearchController(
this.searchBox_ = searchBox;
/**
- * @type {FileManagerUI}
+ * @type {LocationLine}
* @private
*/
this.locationLine_ = locationLine;
@@ -54,7 +54,7 @@ function SearchController(
SearchController.prototype = {
/**
* Obtains current directory's locaiton info.
- * @type {LocationInfo}
+ * @type {EntryLocation}
* @private
*/
get currentLocationInfo_() {

Powered by Google App Engine
This is Rietveld 408576698