Index: net/socket/tcp_socket_win.h |
diff --git a/net/socket/tcp_socket_win.h b/net/socket/tcp_socket_win.h |
index 2ddd538f211ff5ddcd8e0fe0e6d3f00cb36bcaca..a5eed419d17b21b94a9275208c64b1c9bf3a34c0 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_ |
- |