Index: net/quic/chromium/quic_chromium_client_session.cc |
diff --git a/net/quic/chromium/quic_chromium_client_session.cc b/net/quic/chromium/quic_chromium_client_session.cc |
index 5a1ae051a4ae2a91d815c357d422adbd7ad33f35..629b2825722d795d29f6b5b681c058dac9506d62 100644 |
--- a/net/quic/chromium/quic_chromium_client_session.cc |
+++ b/net/quic/chromium/quic_chromium_client_session.cc |
@@ -233,7 +233,6 @@ QuicChromiumClientSession::QuicChromiumClientSession( |
net_log_)), |
going_away_(false), |
port_migration_detected_(false), |
- disabled_reason_(QUIC_DISABLED_NOT), |
token_binding_signatures_(kTokenBindingSignatureMapSize), |
streams_pushed_count_(0), |
streams_pushed_and_claimed_count_(0), |
@@ -756,8 +755,7 @@ void QuicChromiumClientSession::OnConfigNegotiated() { |
void QuicChromiumClientSession::OnCryptoHandshakeEvent( |
CryptoHandshakeEvent event) { |
if (stream_factory_ && event == HANDSHAKE_CONFIRMED && |
- (stream_factory_->OnHandshakeConfirmed( |
- this, logger_->ReceivedPacketLossRate()))) { |
+ stream_factory_->OnHandshakeConfirmed(this)) { |
return; |
} |
@@ -882,7 +880,6 @@ void QuicChromiumClientSession::OnConnectionClosed( |
} |
if (IsCryptoHandshakeConfirmed()) { |
if (GetNumOpenOutgoingStreams() > 0) { |
- disabled_reason_ = QUIC_DISABLED_TIMEOUT_WITH_OPEN_STREAMS; |
UMA_HISTOGRAM_BOOLEAN( |
"Net.QuicSession.TimedOutWithOpenStreams.HasUnackedPackets", |
connection()->sent_packet_manager().HasUnackedPackets()); |
@@ -920,8 +917,6 @@ void QuicChromiumClientSession::OnConnectionClosed( |
"Net.QuicSession.ConnectionClose.HandshakeFailureUnknown.QuicError", |
error); |
} |
- } else if (error == QUIC_PUBLIC_RESET) { |
- disabled_reason_ = QUIC_DISABLED_PUBLIC_RESET_POST_HANDSHAKE; |
} |
UMA_HISTOGRAM_SPARSE_SLOWLY("Net.QuicSession.QuicVersion", |