Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc

Issue 1232553003: Add new certificateProvider extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc
diff --git a/chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc b/chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc
index f6e6cd75a47b6c53a89eebb10f6bd18b7e1f983c..da19c82e8540c127f5d652fe4c32a1752626ff2e 100644
--- a/chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc
+++ b/chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc
@@ -444,7 +444,7 @@ void CertificateProviderService::RequestSignatureFromExtension(
const int sign_request_id = sign_requests_.AddRequest(extension_id, callback);
if (!delegate_->DispatchSignRequestToExtension(extension_id, sign_request_id,
- hash, digest)) {
+ hash, certificate, digest)) {
sign_requests_.RemoveRequest(extension_id, sign_request_id,
nullptr /* callback */);
callback.Run(net::ERR_FAILED, std::vector<uint8_t>());

Powered by Google App Engine
This is Rietveld 408576698