OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_QUIC_QUIC_BUFFERED_PACKET_STORE_H_ | 5 #ifndef NET_QUIC_QUIC_BUFFERED_PACKET_STORE_H_ |
6 #define NET_QUIC_QUIC_BUFFERED_PACKET_STORE_H_ | 6 #define NET_QUIC_QUIC_BUFFERED_PACKET_STORE_H_ |
7 | 7 |
8 #include "net/base/ip_address.h" | 8 #include "net/base/ip_address.h" |
9 #include "net/base/linked_hash_map.h" | 9 #include "net/base/linked_hash_map.h" |
| 10 #include "net/base/net_export.h" |
10 #include "net/quic/core/quic_alarm.h" | 11 #include "net/quic/core/quic_alarm.h" |
11 #include "net/quic/core/quic_alarm_factory.h" | 12 #include "net/quic/core/quic_alarm_factory.h" |
12 #include "net/quic/core/quic_clock.h" | 13 #include "net/quic/core/quic_clock.h" |
13 #include "net/quic/core/quic_protocol.h" | 14 #include "net/quic/core/quic_protocol.h" |
14 #include "net/quic/core/quic_time.h" | 15 #include "net/quic/core/quic_time.h" |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 | 18 |
18 namespace test { | 19 namespace test { |
19 class QuicBufferedPacketStorePeer; | 20 class QuicBufferedPacketStorePeer; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 std::unique_ptr<QuicAlarm> expiration_alarm_; | 152 std::unique_ptr<QuicAlarm> expiration_alarm_; |
152 | 153 |
153 // Keeps track of connection with CHLO buffered up already and the order they | 154 // Keeps track of connection with CHLO buffered up already and the order they |
154 // arrive. | 155 // arrive. |
155 linked_hash_map<QuicConnectionId, bool> connections_with_chlo_; | 156 linked_hash_map<QuicConnectionId, bool> connections_with_chlo_; |
156 }; | 157 }; |
157 | 158 |
158 } // namespace net | 159 } // namespace net |
159 | 160 |
160 #endif // NET_QUIC_QUIC_BUFFERED_PACKET_STORE_H_ | 161 #endif // NET_QUIC_QUIC_BUFFERED_PACKET_STORE_H_ |
OLD | NEW |