Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/socket/tcp_socket.h" | 5 #include "net/socket/tcp_socket.h" |
| 6 #include "net/socket/tcp_socket_win.h" | 6 #include "net/socket/tcp_socket_win.h" |
| 7 | 7 |
| 8 #include <mstcpip.h> | 8 #include <mstcpip.h> |
| 9 | 9 |
| 10 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
| (...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1036 } | 1036 } |
| 1037 | 1037 |
| 1038 waiting_read_ = false; | 1038 waiting_read_ = false; |
| 1039 core_->read_iobuffer_ = NULL; | 1039 core_->read_iobuffer_ = NULL; |
| 1040 core_->read_buffer_length_ = 0; | 1040 core_->read_buffer_length_ = 0; |
| 1041 | 1041 |
| 1042 DCHECK_NE(rv, ERR_IO_PENDING); | 1042 DCHECK_NE(rv, ERR_IO_PENDING); |
| 1043 base::ResetAndReturn(&read_callback_).Run(rv); | 1043 base::ResetAndReturn(&read_callback_).Run(rv); |
| 1044 } | 1044 } |
| 1045 | 1045 |
| 1046 bool TCPSocketWin::GetEstimatedRoundTripTime(base::TimeDelta* out_rtt) { | |
| 1047 DCHECK(out_rtt); | |
| 1048 // Not implemented. Consider implementing using | |
|
mmenke
2015/07/07 21:27:29
// TODO(bmcquade): Consider...
Bryan McQuade
2015/07/08 12:17:42
Done.
| |
| 1049 // GetPerTcpConnectionEStats/GetPerTcp6ConnectionEStats. | |
| 1050 return false; | |
| 1051 } | |
| 1052 | |
| 1046 } // namespace net | 1053 } // namespace net |
| OLD | NEW |