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

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

Issue 10532149: Omnibox: Create HistoryQuickProvider new scoring field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ilya's comments. Created 8 years, 6 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: 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 26440141c547eda8ce2afc3c137f543083bad53a..775eb1fe24220cdd37e8cfa5c2ecde422e6bace7 100644
--- a/chrome/browser/history/scored_history_match.h
+++ b/chrome/browser/history/scored_history_match.h
@@ -97,6 +97,10 @@ struct ScoredHistoryMatch : public history::HistoryMatch {
static float GetPopularityScore(int typed_count,
int visit_count);
+ // Sets use_new_scoring based on command line flags and/or
+ // field trial state.
+ static void InitializeNewScoringField();
+
// End of functions used only in "new" scoring --------------------------
// An interim score taking into consideration location and completeness
« 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