| Index: chrome/browser/extensions/extensions_service.cc
|
| diff --git a/chrome/browser/extensions/extensions_service.cc b/chrome/browser/extensions/extensions_service.cc
|
| index 8284defa8beba74c927f4ac02c46eb5339534173..f3f7f8e1449dba3a03cb5c227608b1deff04fac9 100644
|
| --- a/chrome/browser/extensions/extensions_service.cc
|
| +++ b/chrome/browser/extensions/extensions_service.cc
|
| @@ -783,7 +783,6 @@ void ExtensionsService::AddPendingExtensionInternal(
|
| return;
|
| }
|
|
|
| -
|
| pending_extensions_[id] =
|
| PendingExtensionInfo(update_url, expected_crx_type, is_from_sync,
|
| install_silently, enable_on_install,
|
| @@ -1940,6 +1939,22 @@ void ExtensionsService::OnExternalExtensionFileFound(
|
| }
|
| }
|
|
|
| + GURL update_url = GURL();
|
| + PendingExtensionInfo::ExpectedCrxType expected_crx_type =
|
| + PendingExtensionInfo::UNKNOWN;
|
| + bool is_from_sync = false;
|
| + bool install_silently = true;
|
| + bool enable_on_install = true;
|
| + bool enable_incognito_on_install = false;
|
| + pending_extensions_[id] = PendingExtensionInfo(
|
| + update_url,
|
| + expected_crx_type,
|
| + is_from_sync,
|
| + install_silently,
|
| + enable_on_install,
|
| + enable_incognito_on_install,
|
| + location);
|
| +
|
| scoped_refptr<CrxInstaller> installer(
|
| new CrxInstaller(this, // frontend
|
| NULL)); // no client (silent install)
|
|
|