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

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

Issue 634313004: Display dialog when app install succeeds / fails on Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/unpacked_installer.cc
diff --git a/chrome/browser/extensions/unpacked_installer.cc b/chrome/browser/extensions/unpacked_installer.cc
index 8e05dc5135cf3ec203861b6eabe49223126a337c..b26f8a85be76f76678ea4b6f1701e1d25ae5c895 100644
--- a/chrome/browser/extensions/unpacked_installer.cc
+++ b/chrome/browser/extensions/unpacked_installer.cc
@@ -62,10 +62,10 @@ SimpleExtensionLoadPrompt::SimpleExtensionLoadPrompt(
const Extension* extension,
Profile* profile,
const base::Closure& callback)
- : install_ui_(ExtensionInstallUI::CreateInstallPromptWithProfile(
- profile)),
- extension_(extension),
+ : extension_(extension),
callback_(callback) {
+ scoped_ptr<ExtensionInstallUI> ui(chrome::CreateExtensionInstallUI(profile));
+ install_ui_.reset(ui->CreateInstallPrompt());
}
SimpleExtensionLoadPrompt::~SimpleExtensionLoadPrompt() {

Powered by Google App Engine
This is Rietveld 408576698