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

Unified Diff: chrome/browser/extensions/api/permissions/permissions_api.cc

Issue 10699057: Move application creation and extension install prompt showing off Browser and onto ExtensionTabHel… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/api/permissions/permissions_api.cc
===================================================================
--- chrome/browser/extensions/api/permissions/permissions_api.cc (revision 145357)
+++ chrome/browser/extensions/api/permissions/permissions_api.cc (working copy)
@@ -208,7 +208,8 @@
InstallUIAbort(true);
} else {
CHECK_EQ(DO_NOT_SKIP, auto_confirm_for_tests);
- install_ui_.reset(new ExtensionInstallPrompt(GetCurrentBrowser()));
+ install_ui_.reset(
+ chrome::CreateExtensionInstallPromptWithBrowser(GetCurrentBrowser()));
install_ui_->ConfirmPermissions(
this, GetExtension(), requested_permissions_.get());
}

Powered by Google App Engine
This is Rietveld 408576698