Index: chrome/browser/extensions/unpacked_installer.cc |
diff --git a/chrome/browser/extensions/unpacked_installer.cc b/chrome/browser/extensions/unpacked_installer.cc |
index cb7966f8908b27b491430611cfdbff67953ee48d..b6f123af952ebdcf0c45818d179536953826ac4e 100644 |
--- a/chrome/browser/extensions/unpacked_installer.cc |
+++ b/chrome/browser/extensions/unpacked_installer.cc |
@@ -114,7 +114,7 @@ UnpackedInstaller::UnpackedInstaller(ExtensionService* extension_service) |
: service_weak_(extension_service->AsWeakPtr()), |
prompt_for_plugins_(true), |
require_modern_manifest_version_(true), |
- be_noisy_on_failure_(true), |
+ be_noisy_on_failure_(false), |
installer_(extension_service->profile()) { |
CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
} |
@@ -296,8 +296,6 @@ void UnpackedInstaller::LoadWithFileAccess(int flags) { |
void UnpackedInstaller::ReportExtensionLoadError(const std::string &error) { |
CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- if (!on_failure_callback_.is_null()) |
- on_failure_callback_.Run(extension_path_, error); |
if (service_weak_.get()) { |
ExtensionErrorReporter::GetInstance()->ReportLoadError( |