| Index: chrome/browser/extensions/crx_installer.cc
|
| diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc
|
| index a4207e715595fe57a8cbf7d4423bc63bc3a153c1..17cc1a9538eb4ce3ed9a958272fa56407e90c8ca 100644
|
| --- a/chrome/browser/extensions/crx_installer.cc
|
| +++ b/chrome/browser/extensions/crx_installer.cc
|
| @@ -170,13 +170,17 @@ CrxInstaller::~CrxInstaller() {
|
| }
|
|
|
| void CrxInstaller::InstallCrx(const base::FilePath& source_file) {
|
| + InstallCrxFile(CRXFileInfo(source_file));
|
| +}
|
| +
|
| +void CrxInstaller::InstallCrxFile(const CRXFileInfo& source_file) {
|
| ExtensionService* service = service_weak_.get();
|
| if (!service || service->browser_terminating())
|
| return;
|
|
|
| NotifyCrxInstallBegin();
|
|
|
| - source_file_ = source_file;
|
| + source_file_ = source_file.path;
|
|
|
| scoped_refptr<SandboxedUnpacker> unpacker(
|
| new SandboxedUnpacker(source_file,
|
|
|