| Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| index e218bbe83006d8d0196e348623cb0370c2c3107a..dba2c3e344194b6a49ae5c4e95b00dc34b63a8df 100644
|
| --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| @@ -27,7 +27,7 @@
|
| #include "chrome/browser/signin/token_service_factory.h"
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| #include "chrome/browser/sync/profile_sync_service_factory.h"
|
| -#include "chrome/browser/ui/app_list/app_list_util.h"
|
| +#include "chrome/browser/ui/app_list_service.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/extensions/extension_constants.h"
|
| @@ -468,15 +468,13 @@ void CompleteInstallFunction::OnGetAppLauncherEnabled(
|
| bool app_launcher_enabled) {
|
| if (app_launcher_enabled) {
|
| std::string name;
|
| -#if defined(ENABLE_APP_LIST)
|
| if (!approval_->parsed_manifest->GetString(extension_manifest_keys::kName,
|
| &name)) {
|
| NOTREACHED();
|
| }
|
| // Tell the app list about the install that we just started.
|
| - chrome::NotifyAppListOfBeginExtensionInstall(
|
| + AppListService::Get()->NotifyAppListOfBeginExtensionInstall(
|
| profile(), id, name, approval_->installing_icon);
|
| -#endif
|
| }
|
|
|
| // The extension will install through the normal extension install flow, but
|
| @@ -518,10 +516,8 @@ void CompleteInstallFunction::OnExtensionInstallFailure(
|
| void CompleteInstallFunction::OnExtensionDownloadProgress(
|
| const std::string& id,
|
| content::DownloadItem* item) {
|
| -#if defined(ENABLE_APP_LIST)
|
| - chrome::NotifyAppListOfDownloadProgress(profile(), id,
|
| - item->PercentComplete());
|
| -#endif
|
| + AppListService::Get()->NotifyAppListOfDownloadProgress(
|
| + profile(), id, item->PercentComplete());
|
| }
|
|
|
| bool GetBrowserLoginFunction::RunImpl() {
|
|
|