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

Unified Diff: components/omnibox/browser/scored_history_match.h

Issue 1286093006: Launch HQP & HUP score changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing Barts comments Created 5 years, 4 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: components/omnibox/browser/scored_history_match.h
diff --git a/components/omnibox/browser/scored_history_match.h b/components/omnibox/browser/scored_history_match.h
index a4da02eb1dfbc2e88212cabaf38e03800909828e..773522ed74457b8668e4202180535d849f964bac 100644
--- a/components/omnibox/browser/scored_history_match.h
+++ b/components/omnibox/browser/scored_history_match.h
@@ -186,6 +186,10 @@ struct ScoredHistoryMatch : public history::HistoryMatch {
// are given topicality score of 0. By default it is initalized to -1.
static float topicality_threshold_;
+ // |hqp_relevance_buckets_str_| is used to control the hqp score ranges.
+ // It is the string representation of |hqp_relevance_buckets_|.
+ static std::string hqp_relevance_buckets_str_;
Peter Kasting 2015/08/27 00:50:45 For this and the other variables here, if we only
Ashok vardhan 2015/08/27 19:09:27 Most of them are referenced in unit-tests also. I
+
// |hqp_relevance_buckets_| gives mapping from (topicality*frequency)
// to the final relevance scoring. Please see GetFinalRelevancyScore()
// for more details and scoring method.

Powered by Google App Engine
This is Rietveld 408576698