chromium/net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc

// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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& /*frame*/) {}

void QuicReceiveControlStream::OnDataAvailable() {}

void QuicReceiveControlStream::OnError(HttpDecoder* decoder) {}

bool QuicReceiveControlStream::OnMaxPushIdFrame() {}

bool QuicReceiveControlStream::OnGoAwayFrame(const GoAwayFrame& frame) {}

bool QuicReceiveControlStream::OnSettingsFrameStart(
    QuicByteCount /*header_length*/) {}

bool QuicReceiveControlStream::OnSettingsFrame(const SettingsFrame& frame) {}

bool QuicReceiveControlStream::OnDataFrameStart(QuicByteCount /*header_length*/,
                                                QuicByteCount
                                                /*payload_length*/) {}

bool QuicReceiveControlStream::OnDataFramePayload(
    absl::string_view /*payload*/) {}

bool QuicReceiveControlStream::OnDataFrameEnd() {}

bool QuicReceiveControlStream::OnHeadersFrameStart(
    QuicByteCount /*header_length*/, QuicByteCount
    /*payload_length*/) {}

bool QuicReceiveControlStream::OnHeadersFramePayload(
    absl::string_view /*payload*/) {}

bool QuicReceiveControlStream::OnHeadersFrameEnd() {}

bool QuicReceiveControlStream::OnPriorityUpdateFrameStart(
    QuicByteCount /*header_length*/) {}

bool QuicReceiveControlStream::OnPriorityUpdateFrame(
    const PriorityUpdateFrame& frame) {}

bool QuicReceiveControlStream::OnOriginFrameStart(
    QuicByteCount /* header_length */) {}

bool QuicReceiveControlStream::OnOriginFrame(const OriginFrame& frame) {}

bool QuicReceiveControlStream::OnAcceptChFrameStart(
    QuicByteCount /* header_length */) {}

bool QuicReceiveControlStream::OnAcceptChFrame(const AcceptChFrame& frame) {}

void QuicReceiveControlStream::OnWebTransportStreamFrameType(
    QuicByteCount /*header_length*/, WebTransportSessionId /*session_id*/) {}

bool QuicReceiveControlStream::OnMetadataFrameStart(
    QuicByteCount /*header_length*/, QuicByteCount /*payload_length*/) {}

bool QuicReceiveControlStream::OnMetadataFramePayload(
    absl::string_view /*payload*/) {}

bool QuicReceiveControlStream::OnMetadataFrameEnd() {}

bool QuicReceiveControlStream::OnUnknownFrameStart(
    uint64_t frame_type, QuicByteCount /*header_length*/,
    QuicByteCount payload_length) {}

bool QuicReceiveControlStream::OnUnknownFramePayload(
    absl::string_view /*payload*/) {}

bool QuicReceiveControlStream::OnUnknownFrameEnd() {}

bool QuicReceiveControlStream::ValidateFrameType(HttpFrameType frame_type) {}

}  // namespace quic