// Copyright 2014 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. #ifndef QUICHE_HTTP2_HPACK_HPACK_HEADER_TABLE_H_ #define QUICHE_HTTP2_HPACK_HPACK_HEADER_TABLE_H_ #include <cstddef> #include <memory> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/strings/string_view.h" #include "quiche/http2/hpack/hpack_entry.h" #include "quiche/common/platform/api/quiche_export.h" #include "quiche/common/quiche_circular_deque.h" // All section references below are to http://tools.ietf.org/html/rfc7541. namespace spdy { namespace test { class HpackHeaderTablePeer; } // namespace test // Return value of GetByName() and GetByNameAndValue() if matching entry is not // found. This value is never used in HPACK for indexing entries, see // https://httpwg.org/specs/rfc7541.html#index.address.space. inline constexpr size_t kHpackEntryNotFound = …; // A data structure for the static table (2.3.1) and the dynamic table (2.3.2). class QUICHE_EXPORT HpackHeaderTable { … }; } // namespace spdy #endif // QUICHE_HTTP2_HPACK_HPACK_HEADER_TABLE_H_