Remove notion of static stream in QuicStreamIdManager.
QuicStreamId manager now doesn't keep track of the number of static stream QuicSession has. Instead, when an application of QuicSession sends out its config for max allowed incoming stream, it should add the number of expected static streams.
This allows creation of static streams later in a QuicSession.
gfe-relnote: v99 only, not protected.
PiperOrigin-RevId: 265728450
Change-Id: I3c9ed20f7d439fc9feb3b7f867e8b70c713c33ae
diff --git a/quic/core/quic_session_test.cc b/quic/core/quic_session_test.cc
index 267b2df..7480eee 100644
--- a/quic/core/quic_session_test.cc
+++ b/quic/core/quic_session_test.cc
@@ -142,7 +142,8 @@
: QuicSession(connection,
session_visitor,
DefaultQuicConfig(),
- CurrentSupportedVersions()),
+ CurrentSupportedVersions(),
+ /*num_expected_unidirectional_static_streams = */ 0),
crypto_stream_(this),
writev_consumes_all_data_(false),
uses_pending_streams_(false),