Change QuicSpdySession::SendMaxPushId() to use max_allowed_push_id_
instead of requiring the caller to pass it in explicitly.
Also clean up the implementation of QuicSpdySession::set_max_allowed_push_id()
and rename it to SetMaxAllowedPushId() to match the style guide.
gfe-relnote: Clean up QuicSpdySession::set_max_allowed_push_id. Protected by disabled QUIC v99 flag.
PiperOrigin-RevId: 274851971
Change-Id: Ie4c6ad9aba91a4a26a9d13ebbff4a4399f9d10a9
diff --git a/quic/core/http/quic_spdy_session.h b/quic/core/http/quic_spdy_session.h
index 29046c3..0eb3751 100644
--- a/quic/core/http/quic_spdy_session.h
+++ b/quic/core/http/quic_spdy_session.h
@@ -225,7 +225,7 @@
// those streams are not initialized yet.
void OnCanCreateNewOutgoingStream(bool unidirectional) override;
- void set_max_allowed_push_id(QuicStreamId max_allowed_push_id);
+ void SetMaxAllowedPushId(QuicStreamId max_allowed_push_id);
QuicStreamId max_allowed_push_id() { return max_allowed_push_id_; }
@@ -324,7 +324,7 @@
void set_max_uncompressed_header_bytes(
size_t set_max_uncompressed_header_bytes);
- void SendMaxPushId(QuicStreamId max_allowed_push_id);
+ void SendMaxPushId();
private:
friend class test::QuicSpdySessionPeer;