Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Unified Diff: net/socket/tcp_socket_win.cc

Issue 1215543003: Add UMA for the kernel's TCP RTT estimate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make method name more descriptive. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/socket/tcp_socket_win.cc
diff --git a/net/socket/tcp_socket_win.cc b/net/socket/tcp_socket_win.cc
index 2620ebaf70138edc79c580d53b3d1f8f08cb04f7..1a4cf1d7a8761e03470487b80b1cdb1ce0d1a065 100644
--- a/net/socket/tcp_socket_win.cc
+++ b/net/socket/tcp_socket_win.cc
@@ -1043,4 +1043,11 @@ void TCPSocketWin::DidSignalRead() {
base::ResetAndReturn(&read_callback_).Run(rv);
}
+bool TCPSocketWin::GetEstimatedRoundTripTime(base::TimeDelta* out_rtt) {
+ DCHECK(out_rtt);
+ // Not implemented. Consider implementing using
+ // GetPerTcpConnectionEStats/GetPerTcp6ConnectionEStats.
+ return false;
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698