Index: net/quic/quic_client_session.cc |
diff --git a/net/quic/quic_client_session.cc b/net/quic/quic_client_session.cc |
index c6699f189bace3a856695447723baebb27611843..91eb2ea2e53280811d5a08801105f3887556074f 100644 |
--- a/net/quic/quic_client_session.cc |
+++ b/net/quic/quic_client_session.cc |
@@ -602,7 +602,19 @@ void QuicClientSession::OnConnectionClosed(QuicErrorCode error, |
UMA_HISTOGRAM_COUNTS( |
"Net.QuicSession.ConnectionClose.NumOpenStreams.TimedOut", |
GetNumOpenStreams()); |
- if (!IsCryptoHandshakeConfirmed()) { |
+ if (IsCryptoHandshakeConfirmed()) { |
+ if (GetNumOpenStreams() > 0) { |
+ UMA_HISTOGRAM_BOOLEAN( |
+ "Net.QuicSession.TimedOutWithOpenStreams.HasUnackedPackets", |
+ connection()->sent_packet_manager().HasUnackedPackets()); |
+ UMA_HISTOGRAM_COUNTS( |
+ "Net.QuicSession.TimedOutWithOpenStreams.ConsecutiveRTOCount", |
+ connection()->sent_packet_manager().consecutive_rto_count()); |
+ UMA_HISTOGRAM_COUNTS( |
+ "Net.QuicSession.TimedOutWithOpenStreams.ConsecutiveTLPCount", |
+ connection()->sent_packet_manager().consecutive_tlp_count()); |
+ } |
+ } else { |
UMA_HISTOGRAM_COUNTS( |
"Net.QuicSession.ConnectionClose.NumOpenStreams.HandshakeTimedOut", |
GetNumOpenStreams()); |