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

Unified Diff: chrome/browser/extensions/extension_install_ui_default.cc

Issue 11968034: Enable profile switching for standalone App Launcher via the Settings App. (Closed) Base URL: git://nomatter.syd/chromium/src.git@master
Patch Set: respond to comments Created 7 years, 11 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/extension_install_ui_default.cc
diff --git a/chrome/browser/extensions/extension_install_ui_default.cc b/chrome/browser/extensions/extension_install_ui_default.cc
index d2ff0e4674b5f1cfa58e832ee581c4d2739c038b..123d7ce9e927edee7a839cf7c65866b829fde735 100644
--- a/chrome/browser/extensions/extension_install_ui_default.cc
+++ b/chrome/browser/extensions/extension_install_ui_default.cc
@@ -110,7 +110,7 @@ void OnAppLauncherEnabledCompleted(const extensions::Extension* extension,
bool use_launcher) {
#if defined(ENABLE_APP_LIST)
if (use_launcher) {
- chrome::ShowAppList();
+ chrome::ShowAppList(browser->profile());
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_APP_INSTALLED_TO_APPLIST,
@@ -228,8 +228,8 @@ ExtensionInstallUI* ExtensionInstallUI::Create(Profile* profile) {
// static
void ExtensionInstallUI::OpenAppInstalledUI(Browser* browser,
const std::string& app_id) {
-#if defined(OS_CHROMEOS)
- chrome::ShowAppList();
+#if defined(ENABLE_APP_LIST)
+ chrome::ShowAppList(browser->profile());
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_APP_INSTALLED_TO_APPLIST,

Powered by Google App Engine
This is Rietveld 408576698