| Index: net/socket/ssl_client_socket_openssl.h
|
| diff --git a/net/socket/ssl_client_socket_openssl.h b/net/socket/ssl_client_socket_openssl.h
|
| index 6aaf1e16672d65dc753da56ded07c2e90f546a34..97426ef34e703dee286f014609a01bd0d8eb98e4 100644
|
| --- a/net/socket/ssl_client_socket_openssl.h
|
| +++ b/net/socket/ssl_client_socket_openssl.h
|
| @@ -103,6 +103,9 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
|
| // SSLClientSocket implementation.
|
| scoped_refptr<X509Certificate> GetUnverifiedServerCertificateChain()
|
| const override;
|
| + void ForceClientCertificateAndKeyForTest(
|
| + scoped_refptr<X509Certificate> client_cert,
|
| + scoped_ptr<crypto::RSAPrivateKey> client_private_key) override;
|
|
|
| private:
|
| class PeerCertificateChain;
|
| @@ -313,6 +316,9 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
|
| // pinning failure. It is a (somewhat) human-readable string.
|
| std::string pinning_failure_log_;
|
|
|
| + // Used only for unit testing.
|
| + scoped_ptr<crypto::RSAPrivateKey> client_private_key_;
|
| +
|
| BoundNetLog net_log_;
|
| base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_;
|
| };
|
|
|