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

Unified Diff: components/search_engines/template_url_service_unittest.cc

Issue 839193002: Move ServiceAccessType into //components/keyed_service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on android Created 5 years, 11 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 | « components/keyed_service/core/service_access_type.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/template_url_service_unittest.cc
diff --git a/components/search_engines/template_url_service_unittest.cc b/components/search_engines/template_url_service_unittest.cc
index c05c5f612b70707d3800360f203acb1d19fed5f2..ad474e7745eed221e31213b0de7bf281a38d2d28 100644
--- a/components/search_engines/template_url_service_unittest.cc
+++ b/components/search_engines/template_url_service_unittest.cc
@@ -982,9 +982,8 @@ TEST_F(TemplateURLServiceTest, GenerateVisitOnKeyword) {
base::Time::Now(), base::Time::Now());
// Add a visit that matches the url of the keyword.
- HistoryService* history =
- HistoryServiceFactory::GetForProfile(test_util()->profile(),
- Profile::EXPLICIT_ACCESS);
+ HistoryService* history = HistoryServiceFactory::GetForProfile(
+ test_util()->profile(), ServiceAccessType::EXPLICIT_ACCESS);
history->AddPage(
GURL(t_url->url_ref().ReplaceSearchTerms(
TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("blah")),
« no previous file with comments | « components/keyed_service/core/service_access_type.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698