Index: net/socket/tcp_socket_libevent.h |
diff --git a/net/socket/tcp_socket_libevent.h b/net/socket/tcp_socket_libevent.h |
index 0335c9ea2dea0587ad6ff29421f3a2b3176363dd..96d8ed61d9dddf1b7b76e9ad169dd58f2afdbe22 100644 |
--- a/net/socket/tcp_socket_libevent.h |
+++ b/net/socket/tcp_socket_libevent.h |
@@ -65,7 +65,10 @@ class NET_EXPORT TCPSocketLibevent { |
void Close(); |
+ // Setter/Getter methods for TCP FastOpen socket option. |
bool UsingTCPFastOpen() const; |
+ void EnableTCPFastOpen(); |
+ |
bool IsValid() const; |
// Marks the start/end of a series of connect attempts for logging purpose. |
@@ -168,7 +171,7 @@ class NET_EXPORT TCPSocketLibevent { |
scoped_ptr<SocketLibevent> accept_socket_; |
// Enables experimental TCP FastOpen option. |
- const bool use_tcp_fastopen_; |
+ bool use_tcp_fastopen_; |
// True when TCP FastOpen is in use and we have done the connect. |
bool tcp_fastopen_connected_; |