#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 , 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) { … }
}
}