Index: net/quic/quic_stream_factory.cc |
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc |
index 096ea6abc272715f285dcd509dc3eb7266b70178..2443381e3e4f20654a2aba7b839876f455279a42 100644 |
--- a/net/quic/quic_stream_factory.cc |
+++ b/net/quic/quic_stream_factory.cc |
@@ -685,6 +685,10 @@ void QuicStreamFactory::set_require_confirmation(bool require_confirmation) { |
} |
} |
+bool QuicStreamFactory::ZeroRTTEnabledFor(const QuicServerId& quic_server_id) { |
+ return !(require_confirmation_ || CryptoConfigCacheIsEmpty(quic_server_id)); |
+} |
+ |
base::TimeDelta QuicStreamFactory::GetTimeDelayForWaitingJob( |
const QuicServerId& server_id) { |
if (!delay_tcp_race_ || require_confirmation_) |