// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_TOOLS_HUFFMAN_TRIE_TRIE_ENTRY_H_ #define NET_TOOLS_HUFFMAN_TRIE_TRIE_ENTRY_H_ #include <memory> #include <string> #include <vector> namespace net::huffman_trie { class TrieBitBuffer; class TrieEntry { … }; // std::unique_ptr's are not covariant, so operations on TrieEntry uses a vector // of raw pointers instead. TrieEntries; // ReversedEntry points to a TrieEntry and contains the reversed name for // that entry. This is used to construct the trie. struct ReversedEntry { … }; ReversedEntries; } // namespace net::huffman_trie #endif // NET_TOOLS_HUFFMAN_TRIE_TRIE_ENTRY_H_