| 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 1a20ed9c89f93c5f018a9f30041cb152afe7487f..95dfcd6c769b49ec1541dc3c8a5bcb12402a7e33 100644
|
| --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| @@ -553,10 +553,8 @@
|
| AppListService* app_list_service =
|
| AppListService::Get(GetCurrentBrowser()->host_desktop_type());
|
|
|
| - if (approval_->enable_launcher) {
|
| - app_list_service->EnableAppList(GetProfile(),
|
| - AppListService::ENABLE_FOR_APP_INSTALL);
|
| - }
|
| + if (approval_->enable_launcher)
|
| + app_list_service->EnableAppList(GetProfile());
|
|
|
| if (IsAppLauncherEnabled() && approval_->manifest->is_app()) {
|
| // Show the app list to show download is progressing. Don't show the app
|
| @@ -564,7 +562,7 @@
|
| if (approval_->enable_launcher)
|
| app_list_service->CreateForProfile(GetProfile());
|
| else
|
| - app_list_service->AutoShowForProfile(GetProfile());
|
| + app_list_service->ShowForProfile(GetProfile());
|
| }
|
|
|
| // The extension will install through the normal extension install flow, but
|
| @@ -623,8 +621,8 @@
|
| ~WebstorePrivateEnableAppLauncherFunction() {}
|
|
|
| bool WebstorePrivateEnableAppLauncherFunction::RunImpl() {
|
| - AppListService::Get(GetCurrentBrowser()->host_desktop_type())
|
| - ->EnableAppList(GetProfile(), AppListService::ENABLE_VIA_WEBSTORE_LINK);
|
| + AppListService::Get(GetCurrentBrowser()->host_desktop_type())->
|
| + EnableAppList(GetProfile());
|
| return true;
|
| }
|
|
|
|
|