| 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_ENCODER_H_ | 5 #ifndef NET_SPDY_HPACK_HPACK_ENCODER_H_ |
| 6 #define NET_SPDY_HPACK_HPACK_ENCODER_H_ | 6 #define NET_SPDY_HPACK_HPACK_ENCODER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <functional> | 10 #include <functional> |
| 11 #include <map> | 11 #include <map> |
| 12 #include <memory> | 12 #include <memory> |
| 13 #include <utility> | 13 #include <utility> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
| 18 #include "net/spdy/hpack/hpack_header_table.h" | 18 #include "net/spdy/core/hpack/hpack_header_table.h" |
| 19 #include "net/spdy/hpack/hpack_output_stream.h" | 19 #include "net/spdy/core/hpack/hpack_output_stream.h" |
| 20 #include "net/spdy/core/spdy_protocol.h" |
| 20 #include "net/spdy/platform/api/spdy_string.h" | 21 #include "net/spdy/platform/api/spdy_string.h" |
| 21 #include "net/spdy/platform/api/spdy_string_piece.h" | 22 #include "net/spdy/platform/api/spdy_string_piece.h" |
| 22 #include "net/spdy/spdy_protocol.h" | |
| 23 | 23 |
| 24 // An HpackEncoder encodes header sets as outlined in | 24 // An HpackEncoder encodes header sets as outlined in |
| 25 // http://tools.ietf.org/html/rfc7541. | 25 // http://tools.ietf.org/html/rfc7541. |
| 26 | 26 |
| 27 namespace net { | 27 namespace net { |
| 28 | 28 |
| 29 class HpackHuffmanTable; | 29 class HpackHuffmanTable; |
| 30 | 30 |
| 31 namespace test { | 31 namespace test { |
| 32 class HpackEncoderPeer; | 32 class HpackEncoderPeer; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 IndexingPolicy should_index_; | 147 IndexingPolicy should_index_; |
| 148 bool enable_compression_; | 148 bool enable_compression_; |
| 149 bool should_emit_table_size_; | 149 bool should_emit_table_size_; |
| 150 | 150 |
| 151 DISALLOW_COPY_AND_ASSIGN(HpackEncoder); | 151 DISALLOW_COPY_AND_ASSIGN(HpackEncoder); |
| 152 }; | 152 }; |
| 153 | 153 |
| 154 } // namespace net | 154 } // namespace net |
| 155 | 155 |
| 156 #endif // NET_SPDY_HPACK_HPACK_ENCODER_H_ | 156 #endif // NET_SPDY_HPACK_HPACK_ENCODER_H_ |
| OLD | NEW |