summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_connection.h
diff options
context:
space:
mode:
authortbansal <tbansal@chromium.org>2015-09-21 15:46:40 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-21 22:47:17 +0000
commitfdf5665b2c4d9aa3b421a833bc7bf5330454faf3 (patch)
tree934d385ba6634b890b1d81b25bb75220b69410f1 /net/quic/quic_connection.h
parent7ef7fb8b1fc2e0390d851e7ed272a88ff99d1867 (diff)
downloadchromium_src-fdf5665b2c4d9aa3b421a833bc7bf5330454faf3.zip
chromium_src-fdf5665b2c4d9aa3b421a833bc7bf5330454faf3.tar.gz
chromium_src-fdf5665b2c4d9aa3b421a833bc7bf5330454faf3.tar.bz2
Notfiy NQE of QUIC RTT
NQE is going to expose QUIC RTT to Cronet. Some of the Cronet apps plan to use QUIC RTT for their own network quality estimation. For more details, please see the design doc in #10 in the attached bug. BUG=497899 Review URL: https://codereview.chromium.org/1305293004 Cr-Commit-Position: refs/heads/master@{#350053}
Diffstat (limited to 'net/quic/quic_connection.h')
-rw-r--r--net/quic/quic_connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 8cf3227..1d7715e 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -243,6 +243,10 @@ class NET_EXPORT_PRIVATE QuicConnectionDebugVisitor
// Called when resuming previous connection state.
virtual void OnResumeConnectionState(
const CachedNetworkParameters& cached_network_params) {}
+
+ // Called when RTT may have changed, including when an RTT is read from
+ // the config.
+ virtual void OnRttChanged(QuicTime::Delta rtt) const {}
};
class NET_EXPORT_PRIVATE QuicConnectionHelperInterface {