Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
index 8fa1fbf5e44cebbd9d93b4a55aa83e94aafd13ed..7292b1e1d8f73408c95bda53a40f2a7ff15f93e4 100644 |
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
@@ -463,9 +463,13 @@ void CompleteInstallFunction::OnExtensionInstallSuccess( |
} |
void CompleteInstallFunction::OnExtensionInstallFailure( |
- const std::string& id, const std::string& error) { |
- if (test_webstore_installer_delegate) |
- test_webstore_installer_delegate->OnExtensionInstallFailure(id, error); |
+ const std::string& id, |
+ const std::string& error, |
+ WebstoreInstaller::FailureReason reason) { |
+ if (test_webstore_installer_delegate) { |
+ test_webstore_installer_delegate->OnExtensionInstallFailure( |
+ id, error, reason); |
+ } |
error_ = error; |
SendResponse(false); |