| Index: net/socket/socket_test_util.h
|
| diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
|
| index 73dd07c4bedb741818f5099f94b534932b31616d..e045828f94c980a745acbd9bb7915d95f2cb7894 100644
|
| --- a/net/socket/socket_test_util.h
|
| +++ b/net/socket/socket_test_util.h
|
| @@ -245,12 +245,14 @@ struct SSLSocketDataProvider {
|
| SSLSocketDataProvider(bool async, int result)
|
| : connect(async, result),
|
| next_proto_status(SSLClientSocket::kNextProtoUnsupported),
|
| - was_npn_negotiated(false) { }
|
| + was_npn_negotiated(false),
|
| + cert_request_info(NULL) { }
|
|
|
| MockConnect connect;
|
| SSLClientSocket::NextProtoStatus next_proto_status;
|
| std::string next_proto;
|
| bool was_npn_negotiated;
|
| + net::SSLCertRequestInfo* cert_request_info;
|
| };
|
|
|
| // A DataProvider where the client must write a request before the reads (e.g.
|
| @@ -714,6 +716,8 @@ class MockSSLClientSocket : public MockClientSocket {
|
|
|
| // SSLClientSocket methods:
|
| virtual void GetSSLInfo(net::SSLInfo* ssl_info);
|
| + virtual void GetSSLCertRequestInfo(
|
| + net::SSLCertRequestInfo* cert_request_info);
|
| virtual NextProtoStatus GetNextProto(std::string* proto);
|
| virtual bool was_npn_negotiated() const;
|
| virtual bool set_was_npn_negotiated(bool negotiated);
|
|
|