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

Unified Diff: chrome/browser/ssl/ssl_client_auth_requestor_mock.cc

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: removed no longer needed forward declaration Created 3 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
Index: chrome/browser/ssl/ssl_client_auth_requestor_mock.cc
diff --git a/chrome/browser/ssl/ssl_client_auth_requestor_mock.cc b/chrome/browser/ssl/ssl_client_auth_requestor_mock.cc
index cd7a6701744ee045b5cdab1716323ab957425560..b4ac5fb79c5dc07ab5fa64af3cea1f85e043e6e1 100644
--- a/chrome/browser/ssl/ssl_client_auth_requestor_mock.cc
+++ b/chrome/browser/ssl/ssl_client_auth_requestor_mock.cc
@@ -24,8 +24,9 @@ class FakeClientCertificateDelegate
}
// content::ClientCertificateDelegate implementation:
- void ContinueWithCertificate(net::X509Certificate* cert) override {
- requestor_->CertificateSelected(cert);
+ void ContinueWithCertificate(scoped_refptr<net::X509Certificate> cert,
+ scoped_refptr<net::SSLPrivateKey> key) override {
+ requestor_->CertificateSelected(cert.get(), key.get());
requestor_ = nullptr;
}
« no previous file with comments | « chrome/browser/ssl/ssl_client_auth_requestor_mock.h ('k') | chrome/browser/ssl/ssl_client_certificate_selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698