chromium/net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_decoder_test_utils.cc

// Copyright (c) 2018 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/test_tools/qpack/qpack_decoder_test_utils.h"

#include <algorithm>
#include <cstddef>
#include <string>
#include <utility>

#include "absl/strings/string_view.h"
#include "quiche/quic/platform/api/quic_test.h"

namespace quic {
namespace test {

TestHeadersHandler::TestHeadersHandler()
    :{}

void TestHeadersHandler::OnHeaderDecoded(absl::string_view name,
                                         absl::string_view value) {}

void TestHeadersHandler::OnDecodingCompleted() {}

void TestHeadersHandler::OnDecodingErrorDetected(
    QuicErrorCode /*error_code*/, absl::string_view error_message) {}

quiche::HttpHeaderBlock TestHeadersHandler::ReleaseHeaderList() {}

bool TestHeadersHandler::decoding_completed() const {}

bool TestHeadersHandler::decoding_error_detected() const {}

const std::string& TestHeadersHandler::error_message() const {}

void QpackDecode(
    uint64_t maximum_dynamic_table_capacity, uint64_t maximum_blocked_streams,
    QpackDecoder::EncoderStreamErrorDelegate* encoder_stream_error_delegate,
    QpackStreamSenderDelegate* decoder_stream_sender_delegate,
    QpackProgressiveDecoder::HeadersHandlerInterface* handler,
    const FragmentSizeGenerator& fragment_size_generator,
    absl::string_view data) {}

}  // namespace test
}  // namespace quic