| 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_DECODER_H_ | 5 #ifndef NET_SPDY_HPACK_DECODER_H_ |
| 6 #define NET_SPDY_HPACK_DECODER_H_ | 6 #define NET_SPDY_HPACK_DECODER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 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_header_table.h" | 16 #include "net/spdy/hpack_header_table.h" |
| 17 #include "net/spdy/hpack_input_stream.h" | 17 #include "net/spdy/hpack_input_stream.h" |
| 18 #include "net/spdy/spdy_protocol.h" | 18 #include "net/spdy/spdy_protocol.h" |
| 19 | 19 |
| 20 // An HpackDecoder decodes header sets as outlined in | 20 // An HpackDecoder decodes header sets as outlined in |
| 21 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-07 | 21 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-08 |
| 22 | 22 |
| 23 namespace net { | 23 namespace net { |
| 24 | 24 |
| 25 class HpackHuffmanTable; | 25 class HpackHuffmanTable; |
| 26 | 26 |
| 27 namespace test { | 27 namespace test { |
| 28 class HpackDecoderPeer; | 28 class HpackDecoderPeer; |
| 29 } // namespace test | 29 } // namespace test |
| 30 | 30 |
| 31 class NET_EXPORT_PRIVATE HpackDecoder { | 31 class NET_EXPORT_PRIVATE HpackDecoder { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 bool DecodeNextStringLiteral(HpackInputStream* input_stream, | 112 bool DecodeNextStringLiteral(HpackInputStream* input_stream, |
| 113 bool is_header_key, // As distinct from a value. | 113 bool is_header_key, // As distinct from a value. |
| 114 base::StringPiece* output); | 114 base::StringPiece* output); |
| 115 | 115 |
| 116 DISALLOW_COPY_AND_ASSIGN(HpackDecoder); | 116 DISALLOW_COPY_AND_ASSIGN(HpackDecoder); |
| 117 }; | 117 }; |
| 118 | 118 |
| 119 } // namespace net | 119 } // namespace net |
| 120 | 120 |
| 121 #endif // NET_SPDY_HPACK_DECODER_H_ | 121 #endif // NET_SPDY_HPACK_DECODER_H_ |
| OLD | NEW |