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

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

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.h
diff --git a/chrome/browser/ssl/ssl_client_auth_requestor_mock.h b/chrome/browser/ssl/ssl_client_auth_requestor_mock.h
index 73e5c36d81245aa903a78b88bd6086fc378fac84..1dfc9b9e27e99356128b66083720bdc52d8c2138 100644
--- a/chrome/browser/ssl/ssl_client_auth_requestor_mock.h
+++ b/chrome/browser/ssl/ssl_client_auth_requestor_mock.h
@@ -16,6 +16,7 @@ class ClientCertificateDelegate;
namespace net {
class SSLCertRequestInfo;
+class SSLPrivateKey;
class URLRequest;
class X509Certificate;
}
@@ -29,7 +30,8 @@ class SSLClientAuthRequestorMock
std::unique_ptr<content::ClientCertificateDelegate> CreateDelegate();
- MOCK_METHOD1(CertificateSelected, void(net::X509Certificate* cert));
+ MOCK_METHOD2(CertificateSelected,
+ void(net::X509Certificate* cert, net::SSLPrivateKey* key));
MOCK_METHOD0(CancelCertificateSelection, void());
scoped_refptr<net::SSLCertRequestInfo> cert_request_info_;
« no previous file with comments | « chrome/browser/ssl/ssl_client_auth_observer.cc ('k') | chrome/browser/ssl/ssl_client_auth_requestor_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698