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_HUFFMAN_TABLE_H_ | 5 #ifndef NET_SPDY_HPACK_HPACK_HUFFMAN_TABLE_H_ |
6 #define NET_SPDY_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 <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/strings/string_piece.h" | 14 #include "base/strings/string_piece.h" |
15 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
16 #include "net/spdy/hpack/hpack_constants.h" | 16 #include "net/spdy/hpack/hpack_constants.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // The first 8 bits of the longest code. Applied when generating padding bits. | 122 // The first 8 bits of the longest code. Applied when generating padding bits. |
123 uint8_t pad_bits_; | 123 uint8_t pad_bits_; |
124 | 124 |
125 // If initialization fails, preserve the symbol ID which failed validation | 125 // If initialization fails, preserve the symbol ID which failed validation |
126 // for examination in tests. | 126 // for examination in tests. |
127 uint16_t failed_symbol_id_; | 127 uint16_t failed_symbol_id_; |
128 }; | 128 }; |
129 | 129 |
130 } // namespace net | 130 } // namespace net |
131 | 131 |
132 #endif // NET_SPDY_HPACK_HUFFMAN_TABLE_H_ | 132 #endif // NET_SPDY_HPACK_HPACK_HUFFMAN_TABLE_H_ |
OLD | NEW |