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/quic/core/quic_multipath_sent_packet_manager.h" | 5 #include "net/quic/core/quic_multipath_sent_packet_manager.h" |
6 | 6 |
7 #include <cstdint> | 7 #include <cstdint> |
8 | 8 |
9 #include "net/quic/core/quic_bug_tracker.h" | 9 #include "net/quic/platform/api/quic_bug_tracker.h" |
10 #include "net/quic/platform/api/quic_str_cat.h" | 10 #include "net/quic/platform/api/quic_str_cat.h" |
11 | 11 |
12 using std::string; | 12 using std::string; |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
16 QuicMultipathSentPacketManager::QuicMultipathSentPacketManager( | 16 QuicMultipathSentPacketManager::QuicMultipathSentPacketManager( |
17 QuicSentPacketManagerInterface* manager, | 17 QuicSentPacketManagerInterface* manager, |
18 QuicConnectionCloseDelegateInterface* delegate) | 18 QuicConnectionCloseDelegateInterface* delegate) |
19 : delegate_(delegate) { | 19 : delegate_(delegate) { |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 const { | 526 const { |
527 QuicSentPacketManagerInterface* path_manager = | 527 QuicSentPacketManagerInterface* path_manager = |
528 MaybeGetSentPacketManagerForActivePath(kDefaultPathId); | 528 MaybeGetSentPacketManagerForActivePath(kDefaultPathId); |
529 if (path_manager == nullptr) { | 529 if (path_manager == nullptr) { |
530 return nullptr; | 530 return nullptr; |
531 } | 531 } |
532 return path_manager->GetSendAlgorithm(); | 532 return path_manager->GetSendAlgorithm(); |
533 } | 533 } |
534 | 534 |
535 } // namespace net | 535 } // namespace net |
OLD | NEW |