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

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

Issue 12090062: Enable profile switching for standalone App Launcher via the Settings App. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable tests on aura Created 7 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 | « 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 5db7b231aaeb6a85ee8c92ae2a42922db7c4dc37..6fe870b6e8b374727938cc3788caf3179793f9e8 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,
@@ -230,7 +230,7 @@ ExtensionInstallUI* ExtensionInstallUI::Create(Profile* profile) {
void ExtensionInstallUI::OpenAppInstalledUI(Browser* browser,
const std::string& app_id) {
#if defined(OS_CHROMEOS)
- chrome::ShowAppList();
+ 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