Chromium Code Reviews| 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..cb90852ef2639cf6d8eb59e6cdf0b5fce90fbce1 100644 |
| --- a/net/quic/quic_stream_factory.cc |
| +++ b/net/quic/quic_stream_factory.cc |
| @@ -685,6 +685,12 @@ void QuicStreamFactory::set_require_confirmation(bool require_confirmation) { |
| } |
| } |
| +bool QuicStreamFactory::IsQuicDoingZeroRTT(const HostPortPair& host_port_pair, |
| + PrivacyMode privacy_mode) { |
| + return !(require_confirmation_ || CryptoConfigCacheIsEmpty(QuicServerId( |
| + host_port_pair, privacy_mode))); |
|
Ryan Hamilton
2015/12/05 04:16:17
Is this indented correctly?
ramant (doing other things)
2015/12/07 20:05:39
Done.
|
| +} |
| + |
| base::TimeDelta QuicStreamFactory::GetTimeDelayForWaitingJob( |
| const QuicServerId& server_id) { |
| if (!delay_tcp_race_ || require_confirmation_) |