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

Unified Diff: chrome/browser/chromeos/policy/policy_cert_verifier.cc

Issue 1994353002: Update CertVerifier::Verify to use RequestParams instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@request_params
Patch Set: Rebased Created 4 years, 7 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/policy/policy_cert_verifier.cc
diff --git a/chrome/browser/chromeos/policy/policy_cert_verifier.cc b/chrome/browser/chromeos/policy/policy_cert_verifier.cc
index 1d29a99bf823aacba33409bb0e0536ce15fdebcd..74d37ad90f3e12e6f35842a3a950bd5ffd31d4ff 100644
--- a/chrome/browser/chromeos/policy/policy_cert_verifier.cc
+++ b/chrome/browser/chromeos/policy/policy_cert_verifier.cc
@@ -69,10 +69,7 @@ void PolicyCertVerifier::SetTrustAnchors(
}
int PolicyCertVerifier::Verify(
- net::X509Certificate* cert,
- const std::string& hostname,
- const std::string& ocsp_response,
- int flags,
+ const net::CertVerifier::RequestParams& params,
net::CRLSet* crl_set,
net::CertVerifyResult* verify_result,
const net::CompletionCallback& completion_callback,
@@ -85,9 +82,8 @@ int PolicyCertVerifier::Verify(
anchor_used_callback_,
completion_callback,
verify_result);
- int error =
- delegate_->Verify(cert, hostname, ocsp_response, flags, crl_set,
- verify_result, wrapped_callback, out_req, net_log);
+ int error = delegate_->Verify(params, crl_set, verify_result,
+ wrapped_callback, out_req, net_log);
MaybeSignalAnchorUse(error, anchor_used_callback_, *verify_result);
return error;
}

Powered by Google App Engine
This is Rietveld 408576698