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

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: Fixed MixerTest and add MixerTest.VoiceQuery. 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
Index: ui/app_list/search/mixer.h
diff --git a/ui/app_list/search/mixer.h b/ui/app_list/search/mixer.h
index 4c6b5d29b748c40c84c274777d59d3e07b29be2d..5682f87fcdce4b425f42ed525f5b8184009ff116 100644
--- a/ui/app_list/search/mixer.h
+++ b/ui/app_list/search/mixer.h
@@ -49,7 +49,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);
@@ -78,7 +78,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_;

Powered by Google App Engine
This is Rietveld 408576698