#include "quiche/http2/hpack/decoder/hpack_decoder_state.h"
#include <string>
#include <utility>
#include "quiche/http2/http2_constants.h"
#include "quiche/common/platform/api/quiche_logging.h"
namespace http2 {
namespace {
std::string ExtractString(HpackDecoderStringBuffer* string_buffer) { … }
}
HpackDecoderState::HpackDecoderState(HpackDecoderListener* listener)
: … { … }
HpackDecoderState::~HpackDecoderState() = default;
void HpackDecoderState::ApplyHeaderTableSizeSetting(
uint32_t header_table_size) { … }
void HpackDecoderState::OnHeaderBlockStart() { … }
void HpackDecoderState::OnIndexedHeader(size_t index) { … }
void HpackDecoderState::OnNameIndexAndLiteralValue(
HpackEntryType entry_type, size_t name_index,
HpackDecoderStringBuffer* value_buffer) { … }
void HpackDecoderState::OnLiteralNameAndValue(
HpackEntryType entry_type, HpackDecoderStringBuffer* name_buffer,
HpackDecoderStringBuffer* value_buffer) { … }
void HpackDecoderState::OnDynamicTableSizeUpdate(size_t size_limit) { … }
void HpackDecoderState::OnHpackDecodeError(HpackDecodingError error) { … }
void HpackDecoderState::OnHeaderBlockEnd() { … }
void HpackDecoderState::ReportError(HpackDecodingError error) { … }
}