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_CORE_QUIC_BUFFERED_PACKET_STORE_H_ |
6 #define NET_QUIC_QUIC_BUFFERED_PACKET_STORE_H_ | 6 #define NET_QUIC_CORE_QUIC_BUFFERED_PACKET_STORE_H_ |
7 | 7 |
8 #include "net/base/linked_hash_map.h" | 8 #include "net/base/linked_hash_map.h" |
9 #include "net/base/net_export.h" | 9 #include "net/base/net_export.h" |
10 #include "net/quic/core/quic_alarm.h" | 10 #include "net/quic/core/quic_alarm.h" |
11 #include "net/quic/core/quic_alarm_factory.h" | 11 #include "net/quic/core/quic_alarm_factory.h" |
12 #include "net/quic/core/quic_packets.h" | 12 #include "net/quic/core/quic_packets.h" |
13 #include "net/quic/core/quic_time.h" | 13 #include "net/quic/core/quic_time.h" |
14 #include "net/quic/platform/api/quic_clock.h" | 14 #include "net/quic/platform/api/quic_clock.h" |
15 #include "net/quic/platform/api/quic_socket_address.h" | 15 #include "net/quic/platform/api/quic_socket_address.h" |
16 | 16 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 // packets staying in the store for too long. | 151 // packets staying in the store for too long. |
152 std::unique_ptr<QuicAlarm> expiration_alarm_; | 152 std::unique_ptr<QuicAlarm> expiration_alarm_; |
153 | 153 |
154 // 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 |
155 // arrive. | 155 // arrive. |
156 linked_hash_map<QuicConnectionId, bool> connections_with_chlo_; | 156 linked_hash_map<QuicConnectionId, bool> connections_with_chlo_; |
157 }; | 157 }; |
158 | 158 |
159 } // namespace net | 159 } // namespace net |
160 | 160 |
161 #endif // NET_QUIC_QUIC_BUFFERED_PACKET_STORE_H_ | 161 #endif // NET_QUIC_CORE_QUIC_BUFFERED_PACKET_STORE_H_ |
OLD | NEW |