Chromium Code Reviews| 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) |