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

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

Issue 284183011: Code clean up for ScoredHistoryMatch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deleting unused variables from header file Created 6 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
« no previous file with comments | « no previous file | chrome/browser/history/scored_history_match.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5a246337911c520ea24f97e81fdafddadcadb7b1..0c6189c13e81b68aacbb1467004662c4e04af693 100644
--- a/chrome/browser/history/scored_history_match.h
+++ b/chrome/browser/history/scored_history_match.h
@@ -186,20 +186,6 @@ class ScoredHistoryMatch : public history::HistoryMatch {
// If true, we allow input terms to match in the scheme (e.g., http://).
static bool allow_scheme_matches_;
-
- // If true, assign raw scores to be max(whatever it normally would be,
- // a score that's similar to the score HistoryURL provider would assign).
- // This variable is set in the constructor by examining the field trial
- // state.
- static bool also_do_hup_like_scoring_;
-
- // The maximum score that can be assigned to non-inlineable matches.
- // This is useful because often we want inlineable matches to come
- // first (even if they don't sometimes score as well as non-inlineable
- // matches) because if a non-inlineable match comes first than all matches
- // will get demoted later in HistoryQuickProvider to non-inlineable scores.
- // Set to -1 to indicate no maximum score.
- static int max_assigned_score_for_non_inlineable_matches_;
};
typedef std::vector<ScoredHistoryMatch> ScoredHistoryMatches;
« no previous file with comments | « no previous file | chrome/browser/history/scored_history_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698