Index: net/socket/socket_test_util.h |
=================================================================== |
--- net/socket/socket_test_util.h (revision 112817) |
+++ net/socket/socket_test_util.h (working copy) |
@@ -263,6 +263,7 @@ |
MockConnect connect; |
SSLClientSocket::NextProtoStatus next_proto_status; |
std::string next_proto; |
+ std::string protos; // server proto. |
agl
2011/12/05 16:38:10
server_protos
ramant (doing other things)
2011/12/05 19:03:28
Done.
|
bool was_npn_negotiated; |
bool client_cert_sent; |
net::SSLCertRequestInfo* cert_request_info; |
@@ -610,7 +611,8 @@ |
const base::StringPiece& context, |
unsigned char *out, |
unsigned int outlen) OVERRIDE; |
- virtual NextProtoStatus GetNextProto(std::string* proto) OVERRIDE; |
+ virtual NextProtoStatus GetNextProto(std::string* proto, |
+ std::string* server_proto) OVERRIDE; |
agl
2011/12/05 16:38:10
protos
ramant (doing other things)
2011/12/05 19:03:28
Done.
|
protected: |
virtual ~MockClientSocket(); |
@@ -752,7 +754,8 @@ |
virtual void GetSSLInfo(net::SSLInfo* ssl_info) OVERRIDE; |
virtual void GetSSLCertRequestInfo( |
net::SSLCertRequestInfo* cert_request_info) OVERRIDE; |
- virtual NextProtoStatus GetNextProto(std::string* proto) OVERRIDE; |
+ virtual NextProtoStatus GetNextProto(std::string* proto, |
+ std::string* server_proto) OVERRIDE; |
agl
2011/12/05 16:38:10
s
ramant (doing other things)
2011/12/05 19:03:28
Done.
|
virtual bool was_npn_negotiated() const OVERRIDE; |
virtual bool set_was_npn_negotiated(bool negotiated) OVERRIDE; |