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_ENCODER_H_ | 5 #ifndef NET_SPDY_HPACK_ENCODER_H_ |
6 #define NET_SPDY_HPACK_ENCODER_H_ | 6 #define NET_SPDY_HPACK_ENCODER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 #include <utility> | 12 #include <utility> |
11 #include <vector> | 13 #include <vector> |
12 | 14 |
13 #include "base/basictypes.h" | |
14 #include "base/macros.h" | 15 #include "base/macros.h" |
15 #include "base/strings/string_piece.h" | 16 #include "base/strings/string_piece.h" |
16 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
17 #include "net/spdy/hpack/hpack_header_table.h" | 18 #include "net/spdy/hpack/hpack_header_table.h" |
18 #include "net/spdy/hpack/hpack_output_stream.h" | 19 #include "net/spdy/hpack/hpack_output_stream.h" |
19 #include "net/spdy/spdy_protocol.h" | 20 #include "net/spdy/spdy_protocol.h" |
20 | 21 |
21 // An HpackEncoder encodes header sets as outlined in | 22 // An HpackEncoder encodes header sets as outlined in |
22 // http://tools.ietf.org/html/rfc7541. | 23 // http://tools.ietf.org/html/rfc7541. |
23 | 24 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 size_t min_table_size_setting_received_; | 92 size_t min_table_size_setting_received_; |
92 bool allow_huffman_compression_; | 93 bool allow_huffman_compression_; |
93 bool should_emit_table_size_; | 94 bool should_emit_table_size_; |
94 | 95 |
95 DISALLOW_COPY_AND_ASSIGN(HpackEncoder); | 96 DISALLOW_COPY_AND_ASSIGN(HpackEncoder); |
96 }; | 97 }; |
97 | 98 |
98 } // namespace net | 99 } // namespace net |
99 | 100 |
100 #endif // NET_SPDY_HPACK_ENCODER_H_ | 101 #endif // NET_SPDY_HPACK_ENCODER_H_ |
OLD | NEW |