Index: net/socket/stream_socket.h |
diff --git a/net/socket/stream_socket.h b/net/socket/stream_socket.h |
index d9fee24cebb9642314e08cb2ff05ad54fde27a1c..25fce1797faee8aad8064bf5a71721880a83ee01 100644 |
--- a/net/socket/stream_socket.h |
+++ b/net/socket/stream_socket.h |
@@ -87,6 +87,10 @@ 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 via for this socket, or |
Sergey Ulanov
2012/04/02 18:20:22
via NPN?
Ryan Hamilton
2012/04/02 20:57:33
Done.
|
+ // kProtoUnknown will be returned if NPN is not applicable. |
Sergey Ulanov
2012/04/02 18:20:22
I think ideally this shouldn't be part of StreamSo
Ryan Hamilton
2012/04/02 20:57:33
Yeah, I totally hear you. The problem comes up be
|
+ 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 |