Remove unused push-related code from quic_spdy_client_session_base.h. This includes a stray method declaration without matching definition. PiperOrigin-RevId: 571097738
diff --git a/quiche/quic/core/http/quic_spdy_client_session_base.h b/quiche/quic/core/http/quic_spdy_client_session_base.h index 77ca337..7657642 100644 --- a/quiche/quic/core/http/quic_spdy_client_session_base.h +++ b/quiche/quic/core/http/quic_spdy_client_session_base.h
@@ -15,22 +15,7 @@ namespace quic { -class QuicClientPromisedInfo; class QuicClientPushPromiseIndex; -class QuicSpdyClientStream; - -// For client/http layer code. Lookup promised streams based on -// matching promised request url. The same map can be shared across -// multiple sessions, since cross-origin pushes are allowed (subject -// to authority constraints). Clients should use this map to enforce -// session affinity for requests corresponding to cross-origin push -// promised streams. -using QuicPromisedByUrlMap = - absl::flat_hash_map<std::string, QuicClientPromisedInfo*>; - -// The maximum time a promises stream can be reserved without being -// claimed by a client request. -const int64_t kPushPromiseTimeoutSecs = 60; // Base class for all client-specific QuicSession subclasses. class QUICHE_EXPORT QuicSpdyClientSessionBase @@ -59,9 +44,6 @@ // the PUSH_PROMISE frame, port if present there will be dropped. virtual bool IsAuthorized(const std::string& hostname) = 0; - // Removes |promised| from the maps by url. - void ErasePromisedByUrl(QuicClientPromisedInfo* promised); - virtual void OnPushStreamTimedOut(QuicStreamId stream_id); // Release headers stream's sequencer buffer if it's empty.