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

Unified Diff: chrome/browser/extensions/api/identity/identity_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/identity/identity_api.cc
===================================================================
--- chrome/browser/extensions/api/identity/identity_api.cc (revision 145357)
+++ chrome/browser/extensions/api/identity/identity_api.cc (working copy)
@@ -69,7 +69,8 @@
// Existing grant was revoked and we used NO_FORCE, so we got info back
// instead.
if (interactive_) {
- install_ui_.reset(new ExtensionInstallPrompt(GetCurrentBrowser()));
+ install_ui_.reset(
+ chrome::CreateExtensionInstallPromptWithBrowser(GetCurrentBrowser()));
install_ui_->ConfirmIssueAdvice(this, GetExtension(), issue_advice);
} else {
error_ = kNoGrant;
« no previous file with comments | « chrome/browser/download/download_crx_util.cc ('k') | chrome/browser/extensions/api/permissions/permissions_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698