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

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: private 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
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3bcf16fdcf19191dd3444d3c3ab7fae02ca94f13..b6d05ae30068ed83de0f839ff139816078f484c7 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,
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698