#include "quiche/http2/hpack/hpack_header_table.h"
#include <algorithm>
#include <cstddef>
#include <memory>
#include <string>
#include <utility>
#include "absl/strings/string_view.h"
#include "quiche/http2/hpack/hpack_constants.h"
#include "quiche/http2/hpack/hpack_entry.h"
#include "quiche/http2/hpack/hpack_static_table.h"
#include "quiche/common/platform/api/quiche_logging.h"
namespace spdy {
HpackHeaderTable::HpackHeaderTable()
: … { … }
HpackHeaderTable::~HpackHeaderTable() = default;
size_t HpackHeaderTable::GetByName(absl::string_view name) { … }
size_t HpackHeaderTable::GetByNameAndValue(absl::string_view name,
absl::string_view value) { … }
void HpackHeaderTable::SetMaxSize(size_t max_size) { … }
void HpackHeaderTable::SetSettingsHeaderTableSize(size_t settings_size) { … }
void HpackHeaderTable::EvictionSet(absl::string_view name,
absl::string_view value,
DynamicEntryTable::iterator* begin_out,
DynamicEntryTable::iterator* end_out) { … }
size_t HpackHeaderTable::EvictionCountForEntry(absl::string_view name,
absl::string_view value) const { … }
size_t HpackHeaderTable::EvictionCountToReclaim(size_t reclaim_size) const { … }
void HpackHeaderTable::Evict(size_t count) { … }
const HpackEntry* HpackHeaderTable::TryAddEntry(absl::string_view name,
absl::string_view value) { … }
}