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

Unified Diff: chrome/browser/search/suggestions/suggestions_service_factory.cc

Issue 2568133005: [SuggestionsService] Split SuggestionsService interface from impl (Closed)
Patch Set: Created 4 years 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/search/suggestions/suggestions_service_factory.cc
diff --git a/chrome/browser/search/suggestions/suggestions_service_factory.cc b/chrome/browser/search/suggestions/suggestions_service_factory.cc
index 93ce520a0c848ca05a6a5c0ebba3f63e038244ee..7d3358db315f94872f54ec62dbc9dad0976e514b 100644
--- a/chrome/browser/search/suggestions/suggestions_service_factory.cc
+++ b/chrome/browser/search/suggestions/suggestions_service_factory.cc
@@ -92,7 +92,7 @@ KeyedService* SuggestionsServiceFactory::BuildServiceInstanceFor(
std::unique_ptr<ImageManager> thumbnail_manager(new ImageManager(
std::move(image_fetcher), std::move(db), database_dir,
BrowserThread::GetTaskRunnerForThread(BrowserThread::DB)));
- return new SuggestionsService(
+ return new SuggestionsServiceImpl(
signin_manager, token_service, sync_service, profile->GetRequestContext(),
std::move(suggestions_store), std::move(thumbnail_manager),
std::move(blacklist_store));
@@ -100,7 +100,7 @@ KeyedService* SuggestionsServiceFactory::BuildServiceInstanceFor(
void SuggestionsServiceFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
- SuggestionsService::RegisterProfilePrefs(registry);
+ SuggestionsServiceImpl::RegisterProfilePrefs(registry);
}
} // namespace suggestions
« no previous file with comments | « no previous file | chrome/browser/search/suggestions/suggestions_ui.cc » ('j') | components/suggestions/suggestions_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698