Index: net/socket/tcp_socket_win.cc |
diff --git a/net/socket/tcp_socket_win.cc b/net/socket/tcp_socket_win.cc |
index 88db36fd41c3da42f24b7eb17da0bab4d6a7ac52..bfeb851068a0c39497c77b64162b454b38a606b1 100644 |
--- a/net/socket/tcp_socket_win.cc |
+++ b/net/socket/tcp_socket_win.cc |
@@ -25,7 +25,6 @@ |
namespace net { |
namespace { |
mmenke
2014/09/12 14:20:19
nit: add back linebreak.
Jana
2014/09/12 15:25:52
Done.
|
- |
const int kTCPKeepAliveSeconds = 45; |
int SetSocketReceiveBufferSize(SOCKET socket, int32 size) { |
@@ -123,6 +122,12 @@ int MapConnectError(int os_error) { |
//----------------------------------------------------------------------------- |
+// Nothing to do for Windows since it doesn't support TCP FastOpen. |
+// TODO(jri): Remove these along with the corresponding global variables. |
+bool IsTCPFastOpenSupported() { return false; } |
+bool IsTCPFastOpenUserEnabled() { return false; } |
+void CheckSupportAndMaybeEnableTCPFastOpen(bool user_enabled) {} |
+ |
// This class encapsulates all the state that has to be preserved as long as |
// there is a network IO operation in progress. If the owner TCPSocketWin is |
// destroyed while an operation is in progress, the Core is detached and it |
@@ -1021,4 +1026,3 @@ void TCPSocketWin::DidSignalRead() { |
} |
} // namespace net |
- |