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_ENTRY_H_ | 5 #ifndef NET_SPDY_HPACK_ENTRY_H_ |
6 #define NET_SPDY_HPACK_ENTRY_H_ | 6 #define NET_SPDY_HPACK_ENTRY_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/macros.h" | 12 #include "base/macros.h" |
12 #include "base/strings/string_piece.h" | 13 #include "base/strings/string_piece.h" |
13 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
14 | 15 |
15 // All section references below are to | 16 // All section references below are to |
16 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-08 | 17 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-08 |
17 | 18 |
18 namespace net { | 19 namespace net { |
19 | 20 |
20 // A structure for an entry in the static table (3.3.1) | 21 // A structure for an entry in the static table (3.3.1) |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // The entry's index in the total set of entries ever inserted into the header | 92 // The entry's index in the total set of entries ever inserted into the header |
92 // table. | 93 // table. |
93 size_t insertion_index_; | 94 size_t insertion_index_; |
94 | 95 |
95 EntryType type_; | 96 EntryType type_; |
96 }; | 97 }; |
97 | 98 |
98 } // namespace net | 99 } // namespace net |
99 | 100 |
100 #endif // NET_SPDY_HPACK_ENTRY_H_ | 101 #endif // NET_SPDY_HPACK_ENTRY_H_ |
OLD | NEW |