Index: net/spdy/spdy_session.cc |
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc |
index d338fcdf5fd98cdc0fc7b3588f460cd26e84ba3d..0d6b352da8e85016d0ac95b89c2e42280255546e 100644 |
--- a/net/spdy/spdy_session.cc |
+++ b/net/spdy/spdy_session.cc |
@@ -426,7 +426,7 @@ net::Error SpdySession::InitializeWithSocket( |
NextProto protocol = g_default_protocol; |
if (is_secure_) { |
SSLClientSocket* ssl_socket = GetSSLClientSocket(); |
- NextProto protocol_negotiated = ssl_socket->protocol_negotiated(); |
+ NextProto protocol_negotiated = ssl_socket->GetNegotiatedProtocol(); |
if (protocol_negotiated != kProtoUnknown) { |
protocol = protocol_negotiated; |
} |
@@ -621,7 +621,7 @@ bool SpdySession::NeedsCredentials() const { |
if (!is_secure_) |
return false; |
SSLClientSocket* ssl_socket = GetSSLClientSocket(); |
- if (ssl_socket->protocol_negotiated() < kProtoSPDY3) |
+ if (ssl_socket->GetNegotiatedProtocol() < kProtoSPDY3) |
return false; |
return ssl_socket->WasDomainBoundCertSent(); |
} |
@@ -1175,7 +1175,7 @@ Value* SpdySession::GetInfoAsValue() const { |
NextProto proto = kProtoUnknown; |
if (is_secure_) { |
- proto = GetSSLClientSocket()->protocol_negotiated(); |
+ proto = GetSSLClientSocket()->GetNegotiatedProtocol(); |
} |
dict->SetString("protocol_negotiated", |
SSLClientSocket::NextProtoToString(proto)); |
@@ -1283,7 +1283,7 @@ bool SpdySession::GetSSLInfo(SSLInfo* ssl_info, |
SSLClientSocket* ssl_socket = GetSSLClientSocket(); |
ssl_socket->GetSSLInfo(ssl_info); |
*was_npn_negotiated = ssl_socket->was_npn_negotiated(); |
- *protocol_negotiated = ssl_socket->protocol_negotiated(); |
+ *protocol_negotiated = ssl_socket->GetNegotiatedProtocol(); |
return true; |
} |