#include "quiche/quic/core/quic_stream_id_manager.h"
#include <algorithm>
#include <cstdint>
#include <string>
#include "absl/strings/str_cat.h"
#include "quiche/quic/core/quic_connection.h"
#include "quiche/quic/core/quic_constants.h"
#include "quiche/quic/core/quic_session.h"
#include "quiche/quic/core/quic_utils.h"
#include "quiche/quic/core/quic_versions.h"
#include "quiche/quic/platform/api/quic_flag_utils.h"
#include "quiche/quic/platform/api/quic_flags.h"
#include "quiche/quic/platform/api/quic_logging.h"
namespace quic {
#define ENDPOINT …
QuicStreamIdManager::QuicStreamIdManager(
DelegateInterface* delegate, bool unidirectional, Perspective perspective,
ParsedQuicVersion version, QuicStreamCount max_allowed_outgoing_streams,
QuicStreamCount max_allowed_incoming_streams)
: … { … }
QuicStreamIdManager::~QuicStreamIdManager() { … }
bool QuicStreamIdManager::OnStreamsBlockedFrame(
const QuicStreamsBlockedFrame& frame, std::string* error_details) { … }
bool QuicStreamIdManager::MaybeAllowNewOutgoingStreams(
QuicStreamCount max_open_streams) { … }
void QuicStreamIdManager::SetMaxOpenIncomingStreams(
QuicStreamCount max_open_streams) { … }
void QuicStreamIdManager::MaybeSendMaxStreamsFrame() { … }
void QuicStreamIdManager::SendMaxStreamsFrame() { … }
void QuicStreamIdManager::OnStreamClosed(QuicStreamId stream_id) { … }
QuicStreamId QuicStreamIdManager::GetNextOutgoingStreamId() { … }
bool QuicStreamIdManager::CanOpenNextOutgoingStream() const { … }
bool QuicStreamIdManager::MaybeIncreaseLargestPeerStreamId(
const QuicStreamId stream_id, std::string* error_details) { … }
bool QuicStreamIdManager::IsAvailableStream(QuicStreamId id) const { … }
QuicStreamId QuicStreamIdManager::GetFirstOutgoingStreamId() const { … }
QuicStreamId QuicStreamIdManager::GetFirstIncomingStreamId() const { … }
QuicStreamCount QuicStreamIdManager::available_incoming_streams() const { … }
}