OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_SPDY_HPACK_HPACK_HUFFMAN_TABLE_H_ | 5 #ifndef NET_SPDY_HPACK_HPACK_HUFFMAN_TABLE_H_ |
6 #define NET_SPDY_HPACK_HPACK_HUFFMAN_TABLE_H_ | 6 #define NET_SPDY_HPACK_HPACK_HUFFMAN_TABLE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <cstddef> | 10 #include <cstddef> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
14 #include "net/spdy/hpack/hpack_constants.h" | 14 #include "net/spdy/core/hpack/hpack_constants.h" |
15 #include "net/spdy/platform/api/spdy_string.h" | 15 #include "net/spdy/platform/api/spdy_string.h" |
16 #include "net/spdy/platform/api/spdy_string_piece.h" | 16 #include "net/spdy/platform/api/spdy_string_piece.h" |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 | 19 |
20 namespace test { | 20 namespace test { |
21 class HpackHuffmanTablePeer; | 21 class HpackHuffmanTablePeer; |
22 } // namespace test | 22 } // namespace test |
23 | 23 |
24 class HpackInputStream; | 24 class HpackInputStream; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 uint8_t pad_bits_; | 125 uint8_t pad_bits_; |
126 | 126 |
127 // If initialization fails, preserve the symbol ID which failed validation | 127 // If initialization fails, preserve the symbol ID which failed validation |
128 // for examination in tests. | 128 // for examination in tests. |
129 uint16_t failed_symbol_id_; | 129 uint16_t failed_symbol_id_; |
130 }; | 130 }; |
131 | 131 |
132 } // namespace net | 132 } // namespace net |
133 | 133 |
134 #endif // NET_SPDY_HPACK_HPACK_HUFFMAN_TABLE_H_ | 134 #endif // NET_SPDY_HPACK_HPACK_HUFFMAN_TABLE_H_ |
OLD | NEW |