Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: net/socket/ssl_client_socket.cc

Issue 9958028: Add a new GetNegotiatedProtocol method to StreamSocket and implement in all subclasses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/socket/ssl_client_socket.cc
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
index d48233aac004ee4af4c973924f99680c10b2467c..a486a23945b6903710ae812ee0d98dd910b1a4c5 100644
--- a/net/socket/ssl_client_socket.cc
+++ b/net/socket/ssl_client_socket.cc
@@ -135,4 +135,8 @@ SSLClientCertType SSLClientSocket::set_domain_bound_cert_type(
return domain_bound_cert_type_ = type;
}
+NextProto SSLClientSocket::GetNegotiatedProtocol() const {
+ return static_cast<NextProto>(protocol_negotiated());
wtc 2012/03/30 21:19:14 Remove static_cast because protocol_negotiated() r
Ryan Hamilton 2012/03/30 21:53:17 Done.
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698