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/logging.h" | 11 #include "base/logging.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
15 #include "net/quic/core/crypto/crypto_protocol.h" | 15 #include "net/quic/core/crypto/crypto_protocol.h" |
16 #include "net/quic/core/crypto/quic_decrypter.h" | 16 #include "net/quic/core/crypto/quic_decrypter.h" |
17 #include "net/quic/core/crypto/quic_encrypter.h" | 17 #include "net/quic/core/crypto/quic_encrypter.h" |
18 #include "net/quic/core/quic_clock.h" | 18 #include "net/quic/core/quic_clock.h" |
19 #include "net/quic/core/quic_flags.h" | 19 #include "net/quic/core/quic_flags.h" |
20 #include "net/quic/core/quic_framer.h" | 20 #include "net/quic/core/quic_framer.h" |
21 #include "net/quic/core/quic_protocol.h" | 21 #include "net/quic/core/quic_packets.h" |
22 #include "net/quic/core/quic_server_session_base.h" | 22 #include "net/quic/core/quic_server_session_base.h" |
23 #include "net/quic/core/quic_utils.h" | 23 #include "net/quic/core/quic_utils.h" |
24 #include "net/quic/platform/api/quic_socket_address.h" | 24 #include "net/quic/platform/api/quic_socket_address.h" |
25 | 25 |
26 using base::StringPiece; | 26 using base::StringPiece; |
27 | 27 |
28 namespace net { | 28 namespace net { |
29 | 29 |
30 // A very simple alarm that just informs the QuicTimeWaitListManager to clean | 30 // A very simple alarm that just informs the QuicTimeWaitListManager to clean |
31 // up old connection_ids. This alarm should be cancelled and deleted before | 31 // up old connection_ids. This alarm should be cancelled and deleted before |
(...skipping 288 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 |