| 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_HEADER_TABLE_H_ | 5 #ifndef NET_SPDY_HPACK_HEADER_TABLE_H_ |
| 6 #define NET_SPDY_HPACK_HEADER_TABLE_H_ | 6 #define NET_SPDY_HPACK_HEADER_TABLE_H_ |
| 7 | 7 |
| 8 #include <cstddef> | 8 #include <cstddef> |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
| 15 #include "net/spdy/hpack_entry.h" | 15 #include "net/spdy/hpack_entry.h" |
| 16 | 16 |
| 17 // All section references below are to | 17 // All section references below are to |
| 18 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-06 | 18 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-07 |
| 19 | 19 |
| 20 namespace net { | 20 namespace net { |
| 21 | 21 |
| 22 namespace test { | 22 namespace test { |
| 23 class HpackHeaderTablePeer; | 23 class HpackHeaderTablePeer; |
| 24 } // namespace test | 24 } // namespace test |
| 25 | 25 |
| 26 // A data structure for both the header table (described in 3.1.2) and | 26 // A data structure for both the header table (described in 3.1.2) and |
| 27 // the reference set (3.1.3). | 27 // the reference set (3.1.3). |
| 28 class NET_EXPORT_PRIVATE HpackHeaderTable { | 28 class NET_EXPORT_PRIVATE HpackHeaderTable { |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // Current number of dynamic entries. Referenced by static HpackEntry | 128 // Current number of dynamic entries. Referenced by static HpackEntry |
| 129 // instances for determination of table index. | 129 // instances for determination of table index. |
| 130 size_t dynamic_entries_count_; | 130 size_t dynamic_entries_count_; |
| 131 | 131 |
| 132 DISALLOW_COPY_AND_ASSIGN(HpackHeaderTable); | 132 DISALLOW_COPY_AND_ASSIGN(HpackHeaderTable); |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace net | 135 } // namespace net |
| 136 | 136 |
| 137 #endif // NET_SPDY_HPACK_HEADER_TABLE_H_ | 137 #endif // NET_SPDY_HPACK_HEADER_TABLE_H_ |
| OLD | NEW |