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

Unified Diff: net/quic/test_tools/quic_stream_factory_peer.cc

Issue 2301453002: Quic use reduced PING timeout when previous connection times out with open streams (Closed)
Patch Set: address nits Created 4 years, 3 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/quic/test_tools/quic_stream_factory_peer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_stream_factory_peer.cc
diff --git a/net/quic/test_tools/quic_stream_factory_peer.cc b/net/quic/test_tools/quic_stream_factory_peer.cc
index 4b3e9ccf514927af0c77229f151bfcef5740108e..5619e627266081be1e3aa97c574ba33d0856dd3c 100644
--- a/net/quic/test_tools/quic_stream_factory_peer.cc
+++ b/net/quic/test_tools/quic_stream_factory_peer.cc
@@ -77,6 +77,11 @@ int QuicStreamFactoryPeer::GetNumberOfLossyConnections(
return factory->number_of_lossy_connections_[port];
}
+QuicTime::Delta QuicStreamFactoryPeer::GetPingTimeout(
+ QuicStreamFactory* factory) {
+ return factory->ping_timeout_;
+}
+
bool QuicStreamFactoryPeer::IsQuicDisabled(QuicStreamFactory* factory,
uint16_t port) {
return factory->IsQuicDisabled(port);
« no previous file with comments | « net/quic/test_tools/quic_stream_factory_peer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698