| Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| index 89e2a0c3f11d3d83f5abc63537d028de924bb4f2..6b3b1f96697f09460c4266ea59bfd07947d00253 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| @@ -47,6 +47,7 @@
|
| #include "chrome/browser/sessions/session_service.h"
|
| #include "chrome/browser/sessions/session_service_factory.h"
|
| #include "chrome/browser/shell_integration.h"
|
| +#include "chrome/browser/ui/app_list_service.h"
|
| #include "chrome/browser/ui/browser_commands.h"
|
| #include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/browser/ui/browser_list.h"
|
| @@ -103,10 +104,6 @@
|
| #include "base/win/windows_version.h"
|
| #endif
|
|
|
| -#if defined(ENABLE_APP_LIST)
|
| -#include "chrome/browser/ui/app_list/app_list_util.h"
|
| -#endif
|
| -
|
| using content::ChildProcessSecurityPolicy;
|
| using content::WebContents;
|
| using extensions::Extension;
|
| @@ -334,13 +331,12 @@ bool StartupBrowserCreatorImpl::Launch(Profile* profile,
|
| if (command_line_.HasSwitch(switches::kDumpHistogramsOnExit))
|
| base::StatisticsRecorder::set_dump_on_exit(true);
|
|
|
| -#if defined(ENABLE_APP_LIST)
|
| - chrome::InitAppList(profile);
|
| + AppListService* app_list_service = AppListService::Get();
|
| + app_list_service->Init(profile);
|
| if (command_line_.HasSwitch(switches::kShowAppList)) {
|
| - chrome::ShowAppList(profile);
|
| + app_list_service->ShowAppList(profile);
|
| return true;
|
| }
|
| -#endif
|
|
|
| // Open the required browser windows and tabs. First, see if
|
| // we're being run as an application window. If so, the user
|
|
|