| 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..35bfb9b0cbb41b18c769484788aa0d34149dcb89 100644
|
| --- a/net/socket/tcp_socket_win.cc
|
| +++ b/net/socket/tcp_socket_win.cc
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "net/socket/tcp_socket.h"
|
| #include "net/socket/tcp_socket_win.h"
|
|
|
| #include <mstcpip.h>
|
| @@ -123,6 +124,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
|
| @@ -694,11 +701,6 @@ void TCPSocketWin::Close() {
|
| connect_os_error_ = 0;
|
| }
|
|
|
| -bool TCPSocketWin::UsingTCPFastOpen() const {
|
| - // Not supported on windows.
|
| - return false;
|
| -}
|
| -
|
| void TCPSocketWin::StartLoggingMultipleConnectAttempts(
|
| const AddressList& addresses) {
|
| if (!logging_multiple_connect_attempts_) {
|
| @@ -1021,4 +1023,3 @@ void TCPSocketWin::DidSignalRead() {
|
| }
|
|
|
| } // namespace net
|
| -
|
|
|