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

Unified Diff: ui/app_list/search/mixer.h

Issue 796293002: App list voice searches now prioritize exact-match web results. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit. Created 6 years 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
« no previous file with comments | « chrome/browser/ui/app_list/search/omnibox_provider.cc ('k') | ui/app_list/search/mixer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search/mixer.h
diff --git a/ui/app_list/search/mixer.h b/ui/app_list/search/mixer.h
index 46718174a6f20f0ac87b2068895ae30345480da6..611db2be66be7c250d7093ee54276627707bf580 100644
--- a/ui/app_list/search/mixer.h
+++ b/ui/app_list/search/mixer.h
@@ -51,7 +51,7 @@ class APP_LIST_EXPORT Mixer {
void AddProviderToGroup(GroupId group, SearchProvider* provider);
// Collects the results, sorts and publishes them.
- void MixAndPublish(const KnownResults& known_results);
+ void MixAndPublish(bool is_voice_query, const KnownResults& known_results);
private:
FRIEND_TEST_ALL_PREFIXES(test::MixerTest, Publish);
@@ -80,7 +80,7 @@ class APP_LIST_EXPORT Mixer {
// Removes duplicates from |results|.
static void RemoveDuplicates(SortedResults* results);
- void FetchResults(const KnownResults& known_results);
+ void FetchResults(bool is_voice_query, const KnownResults& known_results);
AppListModel::SearchResults* ui_results_; // Not owned.
Groups groups_;
« no previous file with comments | « chrome/browser/ui/app_list/search/omnibox_provider.cc ('k') | ui/app_list/search/mixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698