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

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: Created 4 years, 4 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/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..50e06629af7bd9f15d27fb177e3345745acaea4a 100644
--- a/net/quic/test_tools/quic_stream_factory_peer.cc
+++ b/net/quic/test_tools/quic_stream_factory_peer.cc
@@ -77,6 +77,10 @@ int QuicStreamFactoryPeer::GetNumberOfLossyConnections(
return factory->number_of_lossy_connections_[port];
}
+int QuicStreamFactoryPeer::GetPingTimeoutSeconds(QuicStreamFactory* factory) {
+ return factory->ping_timeout_seconds_;
+}
+
bool QuicStreamFactoryPeer::IsQuicDisabled(QuicStreamFactory* factory,
uint16_t port) {
return factory->IsQuicDisabled(port);
« net/quic/chromium/quic_stream_factory.h ('K') | « 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