#include "quiche/http2/hpack/decoder/hpack_decoder_tables.h"
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/str_cat.h"
#include "quiche/http2/hpack/http2_hpack_constants.h"
#include "quiche/common/platform/api/quiche_logging.h"
namespace http2 {
namespace {
std::vector<HpackStringPair>* MakeStaticTable() { … }
const std::vector<HpackStringPair>* GetStaticTable() { … }
}
HpackStringPair::HpackStringPair(std::string name, std::string value)
: … { … }
HpackStringPair::~HpackStringPair() { … }
std::string HpackStringPair::DebugString() const { … }
std::ostream& operator<<(std::ostream& os, const HpackStringPair& p) { … }
HpackDecoderStaticTable::HpackDecoderStaticTable(
const std::vector<HpackStringPair>* table)
: … { … }
HpackDecoderStaticTable::HpackDecoderStaticTable() : … { … }
const HpackStringPair* HpackDecoderStaticTable::Lookup(size_t index) const { … }
HpackDecoderDynamicTable::HpackDecoderDynamicTable()
: … { … }
HpackDecoderDynamicTable::~HpackDecoderDynamicTable() = default;
void HpackDecoderDynamicTable::DynamicTableSizeUpdate(size_t size_limit) { … }
void HpackDecoderDynamicTable::Insert(std::string name, std::string value) { … }
const HpackStringPair* HpackDecoderDynamicTable::Lookup(size_t index) const { … }
void HpackDecoderDynamicTable::EnsureSizeNoMoreThan(size_t limit) { … }
void HpackDecoderDynamicTable::RemoveLastEntry() { … }
HpackDecoderTables::HpackDecoderTables() = default;
HpackDecoderTables::~HpackDecoderTables() = default;
const HpackStringPair* HpackDecoderTables::Lookup(size_t index) const { … }
}