| Index: net/socket/stream_socket.h
|
| diff --git a/net/socket/stream_socket.h b/net/socket/stream_socket.h
|
| index 72088103a3d7669f30dd3151da55b975f6f4245c..42306b86f864c34cb1797a344e233107e3d238e3 100644
|
| --- a/net/socket/stream_socket.h
|
| +++ b/net/socket/stream_socket.h
|
| @@ -75,10 +75,15 @@ class NET_EXPORT_PRIVATE StreamSocket : public Socket {
|
| // Write() methods had been called, not the underlying transport's.
|
| virtual bool WasEverUsed() const = 0;
|
|
|
| + // TODO(jri): Clean up -- remove this method.
|
| // Returns true if the underlying transport socket is using TCP FastOpen.
|
| // TCP FastOpen is an experiment with sending data in the TCP SYN packet.
|
| virtual bool UsingTCPFastOpen() const = 0;
|
|
|
| + // TODO(jri): Clean up -- rename to a more general EnableAutoConnectOnWrite.
|
| + // Enables use of TCP FastOpen for the underlying transport socket.
|
| + virtual void EnableTCPFastOpen() {}
|
| +
|
| // Returns true if NPN was negotiated during the connection of this socket.
|
| virtual bool WasNpnNegotiated() const = 0;
|
|
|
|
|