Index: net/socket/stream_socket.h |
diff --git a/net/socket/stream_socket.h b/net/socket/stream_socket.h |
index ef89906df4a3d91e543100334693144b4ee7aabd..e7ea2bee56911104852162c9a83dc846327a0759 100644 |
--- a/net/socket/stream_socket.h |
+++ b/net/socket/stream_socket.h |
@@ -87,6 +87,9 @@ class NET_EXPORT_PRIVATE StreamSocket : public Socket { |
// Returns the connection setup time of this socket. |
virtual base::TimeDelta GetConnectTimeMicros() const = 0; |
+ // Returns the protocol negotiated for this socket. |
wtc
2012/03/30 21:19:14
Please mention the use of NPN in this comment.
Pl
Ryan Hamilton
2012/03/30 21:53:17
Done.
|
+ virtual NextProto GetNegotiatedProtocol() const = 0; |
+ |
protected: |
// The following class is only used to gather statistics about the history of |
// a socket. It is only instantiated and used in basic sockets, such as |