chromium/net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.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_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) {}

}  // namespace

HpackDecoderState::HpackDecoderState(HpackDecoderListener* listener)
    :{}

HpackDecoderState::~HpackDecoderState() = default;

void HpackDecoderState::ApplyHeaderTableSizeSetting(
    uint32_t header_table_size) {}

// Called to notify this object that we're starting to decode an HPACK block
// (e.g. a HEADERS or PUSH_PROMISE frame's header has been decoded).
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) {}

}  // namespace http2