#include "quiche/quic/core/legacy_quic_stream_id_manager.h"
#include "quiche/quic/core/quic_session.h"
#include "quiche/quic/core/quic_types.h"
#include "quiche/quic/core/quic_utils.h"
#include "quiche/quic/core/quic_versions.h"
namespace quic {
LegacyQuicStreamIdManager::LegacyQuicStreamIdManager(
Perspective perspective, QuicTransportVersion transport_version,
size_t max_open_outgoing_streams, size_t max_open_incoming_streams)
: … { … }
LegacyQuicStreamIdManager::~LegacyQuicStreamIdManager() { … }
bool LegacyQuicStreamIdManager::CanOpenNextOutgoingStream() const { … }
bool LegacyQuicStreamIdManager::CanOpenIncomingStream() const { … }
bool LegacyQuicStreamIdManager::MaybeIncreaseLargestPeerStreamId(
const QuicStreamId stream_id) { … }
QuicStreamId LegacyQuicStreamIdManager::GetNextOutgoingStreamId() { … }
void LegacyQuicStreamIdManager::ActivateStream(bool is_incoming) { … }
void LegacyQuicStreamIdManager::OnStreamClosed(bool is_incoming) { … }
bool LegacyQuicStreamIdManager::IsAvailableStream(QuicStreamId id) const { … }
bool LegacyQuicStreamIdManager::IsIncomingStream(QuicStreamId id) const { … }
size_t LegacyQuicStreamIdManager::GetNumAvailableStreams() const { … }
size_t LegacyQuicStreamIdManager::MaxAvailableStreams() const { … }
}