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

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

Issue 1024553003: [Suggestions Service] Enable Suggestions Service by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | components/suggestions/suggestions_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 64f182bd33a54f978b40867a31c577b99f94a8b0..a1e2982b35da7788d487e4506e0dac5d6d5f42bf 100644
--- a/chrome/browser/search/suggestions/suggestions_service_factory.cc
+++ b/chrome/browser/search/suggestions/suggestions_service_factory.cc
@@ -28,9 +28,6 @@ namespace suggestions {
// static
SuggestionsService* SuggestionsServiceFactory::GetForProfile(Profile* profile) {
- if (!SuggestionsService::IsEnabled())
- return NULL;
-
return static_cast<SuggestionsService*>(
GetInstance()->GetServiceForBrowserContext(profile, true));
}
« no previous file with comments | « no previous file | components/suggestions/suggestions_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698