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

Unified Diff: net/socket/ssl_client_socket.h

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.h
diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h
index 8f1284da896feb1345b61ba4ff11c05840cb1dae..049be2fb4d7c88a4d6d582a6a7801ce5b9020b28 100644
--- a/net/socket/ssl_client_socket.h
+++ b/net/socket/ssl_client_socket.h
@@ -88,6 +88,8 @@ class NET_EXPORT SSLClientSocket : public SSLSocket {
virtual void GetSSLCertRequestInfo(
SSLCertRequestInfo* cert_request_info) = 0;
+ virtual NextProto GetNegotiatedProtocol() const OVERRIDE;
wtc 2012/03/30 21:19:14 Add a // StreamSocket: comment here.
Ryan Hamilton 2012/03/30 21:53:17 Done.
+
// Get the application level protocol that we negotiated with the server.
// *proto is set to the resulting protocol (n.b. that the string may have
// embedded NULs).

Powered by Google App Engine
This is Rietveld 408576698