summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_socket_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/tcp_socket_win.h')
-rw-r--r--net/socket/tcp_socket_win.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/socket/tcp_socket_win.h b/net/socket/tcp_socket_win.h
index 2ddd538..a5eed419 100644
--- a/net/socket/tcp_socket_win.h
+++ b/net/socket/tcp_socket_win.h
@@ -75,7 +75,11 @@ class NET_EXPORT TCPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe),
void Close();
- bool UsingTCPFastOpen() const;
+ // Setter/Getter methods for TCP FastOpen socket option.
+ // NOOPs since TCP FastOpen is not implemented in Windows.
+ bool UsingTCPFastOpen() const { return false; }
+ void EnableTCPFastOpenIfSupported() {}
+
bool IsValid() const { return socket_ != INVALID_SOCKET; }
// Marks the start/end of a series of connect attempts for logging purpose.
@@ -152,4 +156,3 @@ class NET_EXPORT TCPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe),
} // namespace net
#endif // NET_SOCKET_TCP_SOCKET_WIN_H_
-