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

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: Add WARN_UNUSED_RESULT. 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
« no previous file with comments | « net/socket/tcp_socket_win.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..592c00dc1c245dd6c7d22112649f85a905a0bfdb 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) const {
+ DCHECK(out_rtt);
+ // TODO(bmcquade): Consider implementing using
+ // GetPerTcpConnectionEStats/GetPerTcp6ConnectionEStats.
+ return false;
+}
+
} // namespace net
« no previous file with comments | « net/socket/tcp_socket_win.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698