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

Unified Diff: chrome/browser/history/scored_history_match.h

Issue 11416285: Omnibiox: Tweak HQP New Scoring and Re-Enable Field Trial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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: chrome/browser/history/scored_history_match.h
diff --git a/chrome/browser/history/scored_history_match.h b/chrome/browser/history/scored_history_match.h
index 09c2135e756aeda2f76433612a32e33793ec542d..2a82d9996ca826c19142b9d774988910a79c57f2 100644
--- a/chrome/browser/history/scored_history_match.h
+++ b/chrome/browser/history/scored_history_match.h
@@ -114,6 +114,13 @@ struct ScoredHistoryMatch : public history::HistoryMatch {
static float GetPopularityScore(int typed_count,
int visit_count);
+ // Combines the three component scores into a final score that's
+ // an appropriate value to use as a relevancy score.
+ static float GetFinalRelevancyScore(
+ float topicality_score,
+ float recency_score,
+ float popularity_score);
+
// Sets use_new_scoring based on command line flags and/or
// field trial state.
static void InitializeNewScoringField();
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_field_trial.cc ('k') | chrome/browser/history/scored_history_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698