#include "quiche/quic/core/quic_write_blocked_list.h"
#include <algorithm>
#include "quiche/quic/platform/api/quic_flag_utils.h"
#include "quiche/quic/platform/api/quic_flags.h"
namespace quic {
QuicWriteBlockedList::QuicWriteBlockedList()
: … { … }
bool QuicWriteBlockedList::ShouldYield(QuicStreamId id) const { … }
QuicStreamId QuicWriteBlockedList::PopFront() { … }
void QuicWriteBlockedList::RegisterStream(QuicStreamId stream_id,
bool is_static_stream,
const QuicStreamPriority& priority) { … }
void QuicWriteBlockedList::UnregisterStream(QuicStreamId stream_id) { … }
void QuicWriteBlockedList::UpdateStreamPriority(
QuicStreamId stream_id, const QuicStreamPriority& new_priority) { … }
void QuicWriteBlockedList::UpdateBytesForStream(QuicStreamId stream_id,
size_t bytes) { … }
void QuicWriteBlockedList::AddStream(QuicStreamId stream_id) { … }
bool QuicWriteBlockedList::IsStreamBlocked(QuicStreamId stream_id) const { … }
void QuicWriteBlockedList::StaticStreamCollection::Register(QuicStreamId id) { … }
bool QuicWriteBlockedList::StaticStreamCollection::IsRegistered(
QuicStreamId id) const { … }
bool QuicWriteBlockedList::StaticStreamCollection::Unregister(QuicStreamId id) { … }
bool QuicWriteBlockedList::StaticStreamCollection::SetBlocked(QuicStreamId id) { … }
bool QuicWriteBlockedList::StaticStreamCollection::UnblockFirstBlocked(
QuicStreamId* id) { … }
}