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

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 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
« 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 bb71acfd63eec7b069823888d2b9d4777cd382b3..f64add16b3aa22a2ddb01f1a6eacd8f1b084d0d2 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;
}
« 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