Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1893)

Unified Diff: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc

Issue 134303006: Revert of Add UMA to track app launcher discoverability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698