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..83db9d603c0c8553f6a7bd4cadfb31b066158b3d 100644 |
--- a/chrome/browser/extensions/unpacked_installer.cc |
+++ b/chrome/browser/extensions/unpacked_installer.cc |
@@ -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( |
@@ -308,6 +306,7 @@ void UnpackedInstaller::ReportExtensionLoadError(const std::string &error) { |
} |
} |
+ |
Devlin
2014/06/27 22:31:08
nit: remove extraneous newline.
gpdavis
2014/06/28 02:31:17
Done.
|
void UnpackedInstaller::ConfirmInstall() { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
base::string16 error = installer_.CheckManagementPolicy(); |