Chromium Code Reviews| Index: net/socket/stream_socket.h |
| =================================================================== |
| --- net/socket/stream_socket.h (revision 86260) |
| +++ net/socket/stream_socket.h (working copy) |
| @@ -79,6 +79,12 @@ |
| // TCP FastOpen is an experiment with sending data in the TCP SYN packet. |
| virtual bool UsingTCPFastOpen() const = 0; |
| + // Returns the number of bytes successfully written to this socket. |
| + virtual int NumBytesRead() const = 0; |
|
wtc
2011/06/06 17:24:05
The comment says "written" but the function name s
Gagan
2011/06/06 20:27:10
Done.
|
| + |
| + // Returns the RTT of this socket. |
| + virtual double GetRTTInMs() 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 |