#include "quiche/quic/core/qpack/qpack_decoder.h"
#include <memory>
#include <utility>
#include "absl/strings/string_view.h"
#include "quiche/quic/core/qpack/qpack_index_conversions.h"
#include "quiche/quic/platform/api/quic_flag_utils.h"
#include "quiche/quic/platform/api/quic_flags.h"
#include "quiche/quic/platform/api/quic_logging.h"
namespace quic {
QpackDecoder::QpackDecoder(
uint64_t maximum_dynamic_table_capacity, uint64_t maximum_blocked_streams,
EncoderStreamErrorDelegate* encoder_stream_error_delegate)
: … { … }
QpackDecoder::~QpackDecoder() { … }
void QpackDecoder::OnStreamReset(QuicStreamId stream_id) { … }
bool QpackDecoder::OnStreamBlocked(QuicStreamId stream_id) { … }
void QpackDecoder::OnStreamUnblocked(QuicStreamId stream_id) { … }
void QpackDecoder::OnDecodingCompleted(QuicStreamId stream_id,
uint64_t required_insert_count) { … }
void QpackDecoder::OnInsertWithNameReference(bool is_static,
uint64_t name_index,
absl::string_view value) { … }
void QpackDecoder::OnInsertWithoutNameReference(absl::string_view name,
absl::string_view value) { … }
void QpackDecoder::OnDuplicate(uint64_t index) { … }
void QpackDecoder::OnSetDynamicTableCapacity(uint64_t capacity) { … }
void QpackDecoder::OnErrorDetected(QuicErrorCode error_code,
absl::string_view error_message) { … }
std::unique_ptr<QpackProgressiveDecoder> QpackDecoder::CreateProgressiveDecoder(
QuicStreamId stream_id,
QpackProgressiveDecoder::HeadersHandlerInterface* handler) { … }
void QpackDecoder::FlushDecoderStream() { … }
}