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

Unified Diff: chrome/browser/infobars/infobars_browsertest.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/infobars/infobars_browsertest.cc
===================================================================
--- chrome/browser/infobars/infobars_browsertest.cc (revision 145147)
+++ chrome/browser/infobars/infobars_browsertest.cc (working copy)
@@ -39,7 +39,8 @@
chrome::NOTIFICATION_EXTENSION_LOADED,
content::NotificationService::AllSources());
- ExtensionInstallPrompt* client = new ExtensionInstallPrompt(browser());
+ ExtensionInstallPrompt* client =
+ chrome::CreateExtensionInstallPromptWithBrowser(browser());
scoped_refptr<CrxInstaller> installer(
CrxInstaller::Create(service, client));
installer->set_install_cause(extension_misc::INSTALL_CAUSE_AUTOMATION);

Powered by Google App Engine
This is Rietveld 408576698