chromium/net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc

// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

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

}  // namespace

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) {}

// TODO(jamessynge): Check somewhere before here that names received from the
// peer are valid (e.g. are lower-case, no whitespace, etc.).
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 {}

}  // namespace http2