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

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

Issue 18421007: [win] Set the profile path when enabling the app launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, and fix a few things Created 7 years, 5 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
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 e12f3306b9fb09decf7b9e8ee123c85ffa2229da..716ec4e8d3cbcc8cddd90a7fa90ada1f1e24e109 100644
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
@@ -560,7 +560,7 @@ bool CompleteInstallFunction::RunImpl() {
AddRef();
if (approval_->enable_launcher)
- AppListService::Get()->EnableAppList();
+ AppListService::Get()->EnableAppList(profile());
if (apps::IsAppLauncherEnabled()) {
// Show the app list to show download is progressing. Don't show the app
@@ -616,7 +616,7 @@ EnableAppLauncherFunction::EnableAppLauncherFunction() {}
EnableAppLauncherFunction::~EnableAppLauncherFunction() {}
bool EnableAppLauncherFunction::RunImpl() {
- AppListService::Get()->EnableAppList();
+ AppListService::Get()->EnableAppList(profile());
SendResponse(true);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698