Remove ScoreHistoryMatch::Builder
ScoredHistoryMatch::Builder was introduced to allow keeping ScoredHistoryMatch
in the history component without having a dependency on autocomplete code. As
ScoredHistoryMatch has been moved to chrome/browser/autocomplete this makes
the code more complex than necessary, so remove it.
BUG=462645
Review URL: https://codereview.chromium.org/976423002
Cr-Commit-Position: refs/heads/master@{#320918}
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index d95fe15..3a7dfda 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -232,6 +232,7 @@
KeyedService* BuildInMemoryURLIndex(content::BrowserContext* context) {
Profile* profile = Profile::FromBrowserContext(context);
InMemoryURLIndex* in_memory_url_index = new InMemoryURLIndex(
+ BookmarkModelFactory::GetForProfile(profile),
HistoryServiceFactory::GetForProfile(profile,
ServiceAccessType::IMPLICIT_ACCESS),
profile->GetPath(),