Index: net/quic/quic_client_session.cc |
diff --git a/net/quic/quic_client_session.cc b/net/quic/quic_client_session.cc |
index 7c220ad59ea8ec0c5cc83284812587022664c460..73a5aec3896bead2e731f22d8c3447899e89643b 100644 |
--- a/net/quic/quic_client_session.cc |
+++ b/net/quic/quic_client_session.cc |
@@ -590,6 +590,8 @@ void QuicClientSession::OnCryptoHandshakeEvent(CryptoHandshakeEvent event) { |
++it; |
observer->OnCryptoHandshakeConfirmed(); |
} |
+ if (server_info_) |
+ server_info_->OnExternalCacheHit(); |
} |
QuicSession::OnCryptoHandshakeEvent(event); |
} |
@@ -682,7 +684,7 @@ void QuicClientSession::OnProofValid( |
const QuicCryptoClientConfig::CachedState& cached) { |
DCHECK(cached.proof_valid()); |
- if (!server_info_ || !server_info_->IsReadyToPersist()) { |
+ if (!server_info_) { |
return; |
} |