#include "quiche/web_transport/web_transport_priority_scheduler.h"
#include <optional>
#include <utility>
#include "absl/cleanup/cleanup.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "quiche/common/quiche_status_utils.h"
#include "quiche/web_transport/web_transport.h"
namespace webtransport {
absl::Status PriorityScheduler::Register(StreamId stream_id,
const StreamPriority& priority) { … }
absl::Status PriorityScheduler::Unregister(StreamId stream_id) { … }
absl::Status PriorityScheduler::UpdateSendOrder(StreamId stream_id,
SendOrder new_send_order) { … }
absl::Status PriorityScheduler::UpdateSendGroup(StreamId stream_id,
SendGroupId new_send_group) { … }
std::optional<StreamPriority> PriorityScheduler::GetPriorityFor(
StreamId stream_id) const { … }
absl::StatusOr<bool> PriorityScheduler::ShouldYield(StreamId stream_id) const { … }
absl::StatusOr<StreamId> PriorityScheduler::PopFront() { … }
absl::Status PriorityScheduler::Schedule(StreamId stream_id) { … }
bool PriorityScheduler::IsScheduled(StreamId stream_id) const { … }
}