OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "net/tools/quic/quic_time_wait_list_manager.h" | 5 #include "net/tools/quic/quic_time_wait_list_manager.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "net/quic/core/crypto/crypto_protocol.h" | 12 #include "net/quic/core/crypto/crypto_protocol.h" |
13 #include "net/quic/core/crypto/quic_decrypter.h" | 13 #include "net/quic/core/crypto/quic_decrypter.h" |
14 #include "net/quic/core/crypto/quic_encrypter.h" | 14 #include "net/quic/core/crypto/quic_encrypter.h" |
15 #include "net/quic/core/quic_flags.h" | |
16 #include "net/quic/core/quic_framer.h" | 15 #include "net/quic/core/quic_framer.h" |
17 #include "net/quic/core/quic_packets.h" | 16 #include "net/quic/core/quic_packets.h" |
18 #include "net/quic/core/quic_utils.h" | 17 #include "net/quic/core/quic_utils.h" |
19 #include "net/quic/platform/api/quic_clock.h" | 18 #include "net/quic/platform/api/quic_clock.h" |
| 19 #include "net/quic/platform/api/quic_flags.h" |
20 #include "net/quic/platform/api/quic_logging.h" | 20 #include "net/quic/platform/api/quic_logging.h" |
21 #include "net/quic/platform/api/quic_map_util.h" | 21 #include "net/quic/platform/api/quic_map_util.h" |
22 #include "net/quic/platform/api/quic_ptr_util.h" | 22 #include "net/quic/platform/api/quic_ptr_util.h" |
23 #include "net/quic/platform/api/quic_socket_address.h" | 23 #include "net/quic/platform/api/quic_socket_address.h" |
24 | 24 |
25 namespace net { | 25 namespace net { |
26 | 26 |
27 // A very simple alarm that just informs the QuicTimeWaitListManager to clean | 27 // A very simple alarm that just informs the QuicTimeWaitListManager to clean |
28 // up old connection_ids. This alarm should be cancelled and deleted before | 28 // up old connection_ids. This alarm should be cancelled and deleted before |
29 // the QuicTimeWaitListManager is deleted. | 29 // the QuicTimeWaitListManager is deleted. |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 version(version_), | 320 version(version_), |
321 time_added(time_added_), | 321 time_added(time_added_), |
322 connection_rejected_statelessly(connection_rejected_statelessly) {} | 322 connection_rejected_statelessly(connection_rejected_statelessly) {} |
323 | 323 |
324 QuicTimeWaitListManager::ConnectionIdData::ConnectionIdData( | 324 QuicTimeWaitListManager::ConnectionIdData::ConnectionIdData( |
325 ConnectionIdData&& other) = default; | 325 ConnectionIdData&& other) = default; |
326 | 326 |
327 QuicTimeWaitListManager::ConnectionIdData::~ConnectionIdData() {} | 327 QuicTimeWaitListManager::ConnectionIdData::~ConnectionIdData() {} |
328 | 328 |
329 } // namespace net | 329 } // namespace net |
OLD | NEW |