Fix gfe2::test::IsSessionResumed for IETF QUIC.

Same as TCP-over-TLS, in IETF QUIC, it is possible to have resumption without early data.

PiperOrigin-RevId: 378495360
diff --git a/quic/core/http/quic_spdy_client_session.cc b/quic/core/http/quic_spdy_client_session.cc
index b71cba9..45bdd1d 100644
--- a/quic/core/http/quic_spdy_client_session.cc
+++ b/quic/core/http/quic_spdy_client_session.cc
@@ -126,6 +126,10 @@
   return crypto_stream_->num_sent_client_hellos();
 }
 
+bool QuicSpdyClientSession::IsResumption() const {
+  return crypto_stream_->IsResumption();
+}
+
 bool QuicSpdyClientSession::EarlyDataAccepted() const {
   return crypto_stream_->EarlyDataAccepted();
 }
diff --git a/quic/core/http/quic_spdy_client_session.h b/quic/core/http/quic_spdy_client_session.h
index 88df049..a1c0883 100644
--- a/quic/core/http/quic_spdy_client_session.h
+++ b/quic/core/http/quic_spdy_client_session.h
@@ -61,6 +61,10 @@
   // than the number of round-trips needed for the handshake.
   int GetNumSentClientHellos() const;
 
+  // Return true if the handshake performed is a TLS resumption.
+  // Always return false for QUIC Crypto.
+  bool IsResumption() const;
+
   // Returns true if early data (0-RTT data) was sent and the server accepted
   // it.
   bool EarlyDataAccepted() const;