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/stl_util.h" | 13 #include "base/stl_util.h" |
14 #include "net/base/ip_endpoint.h" | 14 #include "net/base/ip_endpoint.h" |
15 #include "net/quic/crypto/crypto_protocol.h" | 15 #include "net/quic/core/crypto/crypto_protocol.h" |
16 #include "net/quic/crypto/quic_decrypter.h" | 16 #include "net/quic/core/crypto/quic_decrypter.h" |
17 #include "net/quic/crypto/quic_encrypter.h" | 17 #include "net/quic/core/crypto/quic_encrypter.h" |
18 #include "net/quic/quic_clock.h" | 18 #include "net/quic/core/quic_clock.h" |
19 #include "net/quic/quic_flags.h" | 19 #include "net/quic/core/quic_flags.h" |
20 #include "net/quic/quic_framer.h" | 20 #include "net/quic/core/quic_framer.h" |
21 #include "net/quic/quic_protocol.h" | 21 #include "net/quic/core/quic_protocol.h" |
22 #include "net/quic/quic_server_session_base.h" | 22 #include "net/quic/core/quic_server_session_base.h" |
23 #include "net/quic/quic_utils.h" | 23 #include "net/quic/core/quic_utils.h" |
24 | 24 |
25 using base::StringPiece; | 25 using base::StringPiece; |
26 | 26 |
27 namespace net { | 27 namespace net { |
28 | 28 |
29 // A very simple alarm that just informs the QuicTimeWaitListManager to clean | 29 // A very simple alarm that just informs the QuicTimeWaitListManager to clean |
30 // up old connection_ids. This alarm should be cancelled and deleted before | 30 // up old connection_ids. This alarm should be cancelled and deleted before |
31 // the QuicTimeWaitListManager is deleted. | 31 // the QuicTimeWaitListManager is deleted. |
32 class ConnectionIdCleanUpAlarm : public QuicAlarm::Delegate { | 32 class ConnectionIdCleanUpAlarm : public QuicAlarm::Delegate { |
33 public: | 33 public: |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 version(version_), | 325 version(version_), |
326 time_added(time_added_), | 326 time_added(time_added_), |
327 connection_rejected_statelessly(connection_rejected_statelessly) {} | 327 connection_rejected_statelessly(connection_rejected_statelessly) {} |
328 | 328 |
329 QuicTimeWaitListManager::ConnectionIdData::ConnectionIdData( | 329 QuicTimeWaitListManager::ConnectionIdData::ConnectionIdData( |
330 ConnectionIdData&& other) = default; | 330 ConnectionIdData&& other) = default; |
331 | 331 |
332 QuicTimeWaitListManager::ConnectionIdData::~ConnectionIdData() {} | 332 QuicTimeWaitListManager::ConnectionIdData::~ConnectionIdData() {} |
333 | 333 |
334 } // namespace net | 334 } // namespace net |
OLD | NEW |