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

Unified Diff: chrome/browser/ui/app_list/start_page_service_factory.cc

Issue 2339523004: Remove old (dead) app list code. (Closed)
Patch Set: Address nonbistytftatl review. Created 4 years, 3 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/ui/app_list/start_page_service_factory.cc
diff --git a/chrome/browser/ui/app_list/start_page_service_factory.cc b/chrome/browser/ui/app_list/start_page_service_factory.cc
index d5f8a72e4e2754dda77766300ba2c1a5901f713c..c34c2898eb3c732603f25921ffb30672c890e29c 100644
--- a/chrome/browser/ui/app_list/start_page_service_factory.cc
+++ b/chrome/browser/ui/app_list/start_page_service_factory.cc
@@ -20,11 +20,6 @@ namespace app_list {
// static
StartPageService* StartPageServiceFactory::GetForProfile(Profile* profile) {
- if (!app_list::switches::IsExperimentalAppListEnabled() &&
- !app_list::switches::IsVoiceSearchEnabled()) {
- return NULL;
- }
-
return static_cast<StartPageService*>(
GetInstance()->GetServiceForBrowserContext(profile, true));
}

Powered by Google App Engine
This is Rietveld 408576698