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

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

Issue 2640673002: (WIP) Use generator to generate externs for chrome.fileManagerPrivate API.
Patch Set: Compile passes Created 3 years, 11 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 0552d469a206801659ba077d2dd70f2588aa41f1..6eae426cd1434f04b1f9c3f9567950699b0d26b5 100644
--- a/ui/file_manager/file_manager/foreground/js/search_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/search_controller.js
@@ -141,7 +141,7 @@ SearchController.prototype.requestAutocompleteSuggestions_ = function() {
chrome.fileManagerPrivate.searchDriveMetadata(
{
query: searchString,
- types: 'ALL',
+ types: chrome.fileManagerPrivate.SearchType.ALL,
maxResults: 4
},
function(suggestions) {

Powered by Google App Engine
This is Rietveld 408576698