#include "quiche/quic/core/http/quic_receive_control_stream.h"
#include <optional>
#include <utility>
#include "absl/strings/numbers.h"
#include "absl/strings/str_split.h"
#include "absl/strings/string_view.h"
#include "quiche/quic/core/http/http_constants.h"
#include "quiche/quic/core/http/http_decoder.h"
#include "quiche/quic/core/http/quic_spdy_session.h"
#include "quiche/quic/core/quic_stream_priority.h"
#include "quiche/quic/core/quic_types.h"
#include "quiche/quic/platform/api/quic_flag_utils.h"
#include "quiche/quic/platform/api/quic_flags.h"
#include "quiche/common/quiche_text_utils.h"
namespace quic {
QuicReceiveControlStream::QuicReceiveControlStream(
PendingStream* pending, QuicSpdySession* spdy_session)
: … { … }
QuicReceiveControlStream::~QuicReceiveControlStream() { … }
void QuicReceiveControlStream::OnStreamReset(
const QuicRstStreamFrame& ) { … }
void QuicReceiveControlStream::OnDataAvailable() { … }
void QuicReceiveControlStream::OnError(HttpDecoder* decoder) { … }
bool QuicReceiveControlStream::OnMaxPushIdFrame() { … }
bool QuicReceiveControlStream::OnGoAwayFrame(const GoAwayFrame& frame) { … }
bool QuicReceiveControlStream::OnSettingsFrameStart(
QuicByteCount ) { … }
bool QuicReceiveControlStream::OnSettingsFrame(const SettingsFrame& frame) { … }
bool QuicReceiveControlStream::OnDataFrameStart(QuicByteCount ,
QuicByteCount
) { … }
bool QuicReceiveControlStream::OnDataFramePayload(
absl::string_view ) { … }
bool QuicReceiveControlStream::OnDataFrameEnd() { … }
bool QuicReceiveControlStream::OnHeadersFrameStart(
QuicByteCount , QuicByteCount
) { … }
bool QuicReceiveControlStream::OnHeadersFramePayload(
absl::string_view ) { … }
bool QuicReceiveControlStream::OnHeadersFrameEnd() { … }
bool QuicReceiveControlStream::OnPriorityUpdateFrameStart(
QuicByteCount ) { … }
bool QuicReceiveControlStream::OnPriorityUpdateFrame(
const PriorityUpdateFrame& frame) { … }
bool QuicReceiveControlStream::OnOriginFrameStart(
QuicByteCount ) { … }
bool QuicReceiveControlStream::OnOriginFrame(const OriginFrame& frame) { … }
bool QuicReceiveControlStream::OnAcceptChFrameStart(
QuicByteCount ) { … }
bool QuicReceiveControlStream::OnAcceptChFrame(const AcceptChFrame& frame) { … }
void QuicReceiveControlStream::OnWebTransportStreamFrameType(
QuicByteCount , WebTransportSessionId ) { … }
bool QuicReceiveControlStream::OnMetadataFrameStart(
QuicByteCount , QuicByteCount ) { … }
bool QuicReceiveControlStream::OnMetadataFramePayload(
absl::string_view ) { … }
bool QuicReceiveControlStream::OnMetadataFrameEnd() { … }
bool QuicReceiveControlStream::OnUnknownFrameStart(
uint64_t frame_type, QuicByteCount ,
QuicByteCount payload_length) { … }
bool QuicReceiveControlStream::OnUnknownFramePayload(
absl::string_view ) { … }
bool QuicReceiveControlStream::OnUnknownFrameEnd() { … }
bool QuicReceiveControlStream::ValidateFrameType(HttpFrameType frame_type) { … }
}