Index: net/socket/ssl_client_socket.cc |
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc |
index 6bcc96e8a47cc2cccf3b7a019c572ed0075a5760..7f2325846e0bce50c3d4f5fafa73bc2226883e82 100644 |
--- a/net/socket/ssl_client_socket.cc |
+++ b/net/socket/ssl_client_socket.cc |
@@ -77,6 +77,10 @@ std::string SSLClientSocket::ServerProtosToString( |
return JoinString(server_protos_with_commas, ','); |
} |
+bool SSLClientSocket::WasNpnNegotiated() const { |
+ return was_npn_negotiated_; |
+} |
+ |
NextProto SSLClientSocket::GetNegotiatedProtocol() const { |
return protocol_negotiated_; |
} |
@@ -100,10 +104,6 @@ bool SSLClientSocket::IgnoreCertError(int error, int load_flags) { |
return false; |
} |
-bool SSLClientSocket::was_npn_negotiated() const { |
- return was_npn_negotiated_; |
-} |
- |
bool SSLClientSocket::set_was_npn_negotiated(bool negotiated) { |
return was_npn_negotiated_ = negotiated; |
} |