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

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: Created 6 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 | « 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 06fb76c40711baae45d3738c0396a3c568f27418..6f6a227b1b3d1e8c3d2959371a87452f018d0829 100644
--- a/chrome/browser/history/scored_history_match.h
+++ b/chrome/browser/history/scored_history_match.h
@@ -30,6 +30,12 @@ class ScoredHistoryMatch : public history::HistoryMatch {
// expected to deliver (at minimum) to this class.
static const size_t kMaxVisitsToScore;
+ //These values are duplicated from the HistoryURLProvider
sdefresne 2014/05/22 12:39:23 Those constants are only used on scored_history_ma
+ static const int kScoreForBestInlineableResult;
+ static const int kScoreForUnvisitedIntranetResult;
+ static const int kScoreForWhatYouTypedResult;
+ static const int kBaseScoreForNonInlineableResult;
+
ScoredHistoryMatch(); // Required by STL.
// Creates a new match with a raw score calculated for the history item
« 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