| Index: chrome/browser/extensions/extension_service.cc
|
| diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
|
| index ae54e2963508ce2e8dee0a05f969fda85c841647..4e669434b8f769f46b6098db5a127f59c08ea57d 100644
|
| --- a/chrome/browser/extensions/extension_service.cc
|
| +++ b/chrome/browser/extensions/extension_service.cc
|
| @@ -614,7 +614,8 @@ bool ExtensionService::UpdateExtension(const std::string& id,
|
| void ExtensionService::ReloadExtension(
|
| // "transient" because the process of reloading may cause the reference
|
| // to become invalid. Instead, use |extension_id|, a copy.
|
| - const std::string& transient_extension_id) {
|
| + const std::string& transient_extension_id,
|
| + bool be_noisy) {
|
| #if defined(ENABLE_EXTENSIONS)
|
| CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|
| @@ -698,7 +699,10 @@ void ExtensionService::ReloadExtension(
|
| // We should always be able to remember the extension's path. If it's not in
|
| // the map, someone failed to update |unloaded_extension_paths_|.
|
| CHECK(!path.empty());
|
| - extensions::UnpackedInstaller::Create(this)->Load(path);
|
| + scoped_refptr<extensions::UnpackedInstaller> unpacked_installer =
|
| + extensions::UnpackedInstaller::Create(this);
|
| + unpacked_installer->set_be_noisy_on_failure(be_noisy);
|
| + unpacked_installer->Load(path);
|
| }
|
| // When reloading is done, mark this extension as done reloading.
|
| SetBeingReloaded(extension_id, false);
|
|
|