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

Unified Diff: extensions/browser/api/cast_channel/cast_socket.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, 6 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
« no previous file with comments | « chrome/browser/extensions/api/platform_keys/verify_trust_api.cc ('k') | google_apis/gcm/tools/mcs_probe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/cast_socket.cc
diff --git a/extensions/browser/api/cast_channel/cast_socket.cc b/extensions/browser/api/cast_channel/cast_socket.cc
index 0d33722a9f24a9a440bab585682887f5765ae330..a1f458a7860c171b99150fc760e04452d5d1b821 100644
--- a/extensions/browser/api/cast_channel/cast_socket.cc
+++ b/extensions/browser/api/cast_channel/cast_socket.cc
@@ -80,17 +80,14 @@ class FakeCertVerifier : public net::CertVerifier {
FakeCertVerifier() {}
~FakeCertVerifier() override {}
- int Verify(net::X509Certificate* cert,
- const std::string&,
- const std::string&,
- int,
+ int Verify(const RequestParams& params,
net::CRLSet*,
net::CertVerifyResult* verify_result,
const net::CompletionCallback&,
- std::unique_ptr<net::CertVerifier::Request>*,
+ std::unique_ptr<Request>*,
const net::BoundNetLog&) override {
verify_result->Reset();
- verify_result->verified_cert = cert;
+ verify_result->verified_cert = params.certificate();
return net::OK;
}
};
« no previous file with comments | « chrome/browser/extensions/api/platform_keys/verify_trust_api.cc ('k') | google_apis/gcm/tools/mcs_probe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698