| Index: chrome/browser/ui/extensions/extension_install_ui_default.cc
|
| diff --git a/chrome/browser/ui/extensions/extension_install_ui_default.cc b/chrome/browser/ui/extensions/extension_install_ui_default.cc
|
| index e8bd56feef4a05155b6bdeca97df00591090a473..17f16df60b42202db7392a972e9c120713c847ea 100644
|
| --- a/chrome/browser/ui/extensions/extension_install_ui_default.cc
|
| +++ b/chrome/browser/ui/extensions/extension_install_ui_default.cc
|
| @@ -15,7 +15,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/themes/theme_service.h"
|
| #include "chrome/browser/themes/theme_service_factory.h"
|
| -#include "chrome/browser/ui/app_list/app_list_util.h"
|
| +#include "chrome/browser/ui/app_list/app_list_service.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/browser_dialogs.h"
|
| #include "chrome/browser/ui/browser_finder.h"
|
| @@ -108,9 +108,8 @@ void OnAppLauncherEnabledCompleted(const extensions::Extension* extension,
|
| SkBitmap* icon,
|
| bool use_bubble,
|
| bool use_launcher) {
|
| -#if defined(ENABLE_APP_LIST)
|
| if (use_launcher) {
|
| - chrome::ShowAppList(browser->profile());
|
| + AppListService::Get()->ShowAppList(browser->profile());
|
|
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_APP_INSTALLED_TO_APPLIST,
|
| @@ -118,7 +117,6 @@ void OnAppLauncherEnabledCompleted(const extensions::Extension* extension,
|
| content::Details<const std::string>(&extension->id()));
|
| return;
|
| }
|
| -#endif
|
|
|
| if (use_bubble) {
|
| chrome::ShowExtensionInstalledBubble(extension, browser, *icon);
|
| @@ -232,7 +230,7 @@ ExtensionInstallUI* ExtensionInstallUI::Create(Profile* profile) {
|
| void ExtensionInstallUI::OpenAppInstalledUI(Browser* browser,
|
| const std::string& app_id) {
|
| #if defined(OS_CHROMEOS)
|
| - chrome::ShowAppList(browser->profile());
|
| + AppListService::Get()->ShowAppList(browser->profile());
|
|
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_APP_INSTALLED_TO_APPLIST,
|
|
|