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

Unified Diff: ui/app_list/search_controller.cc

Issue 1113483002: App launcher: Added Finch experiment for the search ranking algorithm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@applist-mixer-debug-framework
Patch Set: Split variable. Created 5 years, 7 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
« no previous file with comments | « ui/app_list/search_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_controller.cc
diff --git a/ui/app_list/search_controller.cc b/ui/app_list/search_controller.cc
index 9894492aac597c89ea6fd4126a51b65708a93156..d2e16614afb03c5d5a76df4cc395cde180929f1c 100644
--- a/ui/app_list/search_controller.cc
+++ b/ui/app_list/search_controller.cc
@@ -99,12 +99,16 @@ void SearchController::InvokeResultAction(SearchResult* result,
result->InvokeAction(action_index, event_flags);
}
-size_t SearchController::AddGroup(size_t max_results, double boost) {
- return mixer_->AddGroup(max_results, boost);
+size_t SearchController::AddGroup(size_t max_results,
+ double boost,
+ double multiplier) {
+ return mixer_->AddGroup(max_results, boost, multiplier);
}
-size_t SearchController::AddOmniboxGroup(size_t max_results, double boost) {
- return mixer_->AddOmniboxGroup(max_results, boost);
+size_t SearchController::AddOmniboxGroup(size_t max_results,
+ double boost,
+ double multiplier) {
+ return mixer_->AddOmniboxGroup(max_results, boost, multiplier);
}
void SearchController::AddProvider(size_t group_id,
« no previous file with comments | « ui/app_list/search_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698