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

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

Issue 651193002: Remove NOTIFICATION_HISTORY_URL_VISITED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@373326.2
Patch Set: Address comments Created 6 years, 2 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/history_url_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/history_url_provider_unittest.cc b/chrome/browser/autocomplete/history_url_provider_unittest.cc
index 9da859dfe0f3e2cc1979b9d992c8ebcd5de5a0a5..dcf6bbff4a0999c7d250aae4da79ea056b1845c8 100644
--- a/chrome/browser/autocomplete/history_url_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_url_provider_unittest.cc
@@ -176,7 +176,9 @@ class HistoryURLProviderTest : public testing::Test,
return new TemplateURLService(
profile->GetPrefs(), make_scoped_ptr(new SearchTermsData), NULL,
scoped_ptr<TemplateURLServiceClient>(
- new ChromeTemplateURLServiceClient(profile)),
+ new ChromeTemplateURLServiceClient(
+ HistoryServiceFactory::GetForProfile(
+ profile, Profile::EXPLICIT_ACCESS))),
NULL, NULL, base::Closure());
}

Powered by Google App Engine
This is Rietveld 408576698