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

Unified Diff: chrome/browser/autocomplete/scored_history_match.cc

Issue 959343004: Move InMemoryURLIndex outside of history namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@in-memory-url-index
Patch Set: Created 5 years, 10 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/autocomplete/scored_history_match.cc
diff --git a/chrome/browser/autocomplete/scored_history_match.cc b/chrome/browser/autocomplete/scored_history_match.cc
index 93c150381bcd17820899cc2752c30cc52a33e522..adb22c62e601262674f439f54c811e762f0f2416 100644
--- a/chrome/browser/autocomplete/scored_history_match.cc
+++ b/chrome/browser/autocomplete/scored_history_match.cc
@@ -4,15 +4,13 @@
#include "chrome/browser/autocomplete/scored_history_match.h"
-namespace history {
-
// static
const size_t ScoredHistoryMatch::kMaxVisitsToScore = 10;
ScoredHistoryMatch::ScoredHistoryMatch() : raw_score(0), can_inline(false) {
}
-ScoredHistoryMatch::ScoredHistoryMatch(const URLRow& url_info,
+ScoredHistoryMatch::ScoredHistoryMatch(const history::URLRow& url_info,
size_t input_location,
bool match_in_scheme,
bool innermost_match,
@@ -68,5 +66,3 @@ bool ScoredHistoryMatch::MatchScoreGreater(const ScoredHistoryMatch& m1,
// URLs that have been visited more recently are better.
return m1.url_info.last_visit() > m2.url_info.last_visit();
}
-
-} // namespace history

Powered by Google App Engine
This is Rietveld 408576698