chromium/net/third_party/quiche/src/quiche/http2/test_tools/hpack_block_collector.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/test_tools/hpack_block_collector.h"

#include <algorithm>
#include <memory>
#include <string>

#include "quiche/http2/test_tools/verify_macros.h"
#include "quiche/common/platform/api/quiche_logging.h"

AssertionResult;
AssertionSuccess;

namespace http2 {
namespace test {

HpackBlockCollector::HpackBlockCollector() = default;
HpackBlockCollector::HpackBlockCollector(const HpackBlockCollector& other)
    :{}
HpackBlockCollector::~HpackBlockCollector() = default;

void HpackBlockCollector::OnIndexedHeader(size_t index) {}
void HpackBlockCollector::OnDynamicTableSizeUpdate(size_t size) {}
void HpackBlockCollector::OnStartLiteralHeader(HpackEntryType header_type,
                                               size_t maybe_name_index) {}
void HpackBlockCollector::OnNameStart(bool huffman_encoded, size_t len) {}
void HpackBlockCollector::OnNameData(const char* data, size_t len) {}
void HpackBlockCollector::OnNameEnd() {}
void HpackBlockCollector::OnValueStart(bool huffman_encoded, size_t len) {}
void HpackBlockCollector::OnValueData(const char* data, size_t len) {}
void HpackBlockCollector::OnValueEnd() {}

void HpackBlockCollector::PushPendingEntry() {}
void HpackBlockCollector::Clear() {}

void HpackBlockCollector::ExpectIndexedHeader(size_t index) {}
void HpackBlockCollector::ExpectDynamicTableSizeUpdate(size_t size) {}
void HpackBlockCollector::ExpectNameIndexAndLiteralValue(
    HpackEntryType type, size_t index, bool value_huffman,
    const std::string& value) {}
void HpackBlockCollector::ExpectLiteralNameAndValue(HpackEntryType type,
                                                    bool name_huffman,
                                                    const std::string& name,
                                                    bool value_huffman,
                                                    const std::string& value) {}

void HpackBlockCollector::ShuffleEntries(Http2Random* rng) {}

void HpackBlockCollector::AppendToHpackBlockBuilder(
    HpackBlockBuilder* hbb) const {}

AssertionResult HpackBlockCollector::ValidateSoleIndexedHeader(
    size_t ndx) const {}
AssertionResult HpackBlockCollector::ValidateSoleLiteralValueHeader(
    HpackEntryType expected_type, size_t expected_index,
    bool expected_value_huffman, absl::string_view expected_value) const {}
AssertionResult HpackBlockCollector::ValidateSoleLiteralNameValueHeader(
    HpackEntryType expected_type, bool expected_name_huffman,
    absl::string_view expected_name, bool expected_value_huffman,
    absl::string_view expected_value) const {}
AssertionResult HpackBlockCollector::ValidateSoleDynamicTableSizeUpdate(
    size_t size) const {}

AssertionResult HpackBlockCollector::VerifyEq(
    const HpackBlockCollector& that) const {}

}  // namespace test
}  // namespace http2