Chromium Code Reviews| Index: chrome/browser/extensions/extension_install_ui_default.cc |
| diff --git a/chrome/browser/extensions/extension_install_ui_default.cc b/chrome/browser/extensions/extension_install_ui_default.cc |
| index 6fe870b6e8b374727938cc3788caf3179793f9e8..2643571c69192a4061f7920f99290f2eb87f55bc 100644 |
| --- a/chrome/browser/extensions/extension_install_ui_default.cc |
| +++ b/chrome/browser/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_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,10 @@ void OnAppLauncherEnabledCompleted(const extensions::Extension* extension, |
| SkBitmap* icon, |
| bool use_bubble, |
| bool use_launcher) { |
| +// TODO(tapted): Remove this ifdef. |
|
tapted
2013/02/11 04:04:20
actually, looking at the function name (OnAppLaunc
koz (OOO until 15th September)
2013/02/11 04:33:38
Sounds good to me.
tapted
2013/02/18 07:05:39
Done.
|
| #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, |