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

Unified Diff: chrome/browser/automation/testing_automation_provider.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/automation/testing_automation_provider.cc
===================================================================
--- chrome/browser/automation/testing_automation_provider.cc (revision 145147)
+++ chrome/browser/automation/testing_automation_provider.cc (working copy)
@@ -4018,7 +4018,8 @@
// and install it. Otherwise load it as an unpacked extension.
if (extension_path.MatchesExtension(FILE_PATH_LITERAL(".crx"))) {
ExtensionInstallPrompt* client =
- (with_ui ? new ExtensionInstallPrompt(browser) : NULL);
+ (with_ui ? chrome::CreateExtensionInstallPromptWithBrowser(
Aaron Boodman 2012/07/03 00:52:14 I'm no style expert, but this looks weird.
Ben Goodger (Google) 2012/07/03 19:17:00 Done.
+ browser) : NULL);
scoped_refptr<CrxInstaller> installer(
CrxInstaller::Create(service, client));
if (!with_ui)

Powered by Google App Engine
This is Rietveld 408576698