| 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_packet_generator.h" | 5 #include "net/quic/core/quic_packet_generator.h" |
| 6 | 6 |
| 7 #include <cstdint> | 7 #include <cstdint> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "net/quic/core/quic_bug_tracker.h" | |
| 11 #include "net/quic/core/quic_utils.h" | 10 #include "net/quic/core/quic_utils.h" |
| 11 #include "net/quic/platform/api/quic_bug_tracker.h" |
| 12 | 12 |
| 13 using base::StringPiece; | 13 using base::StringPiece; |
| 14 | 14 |
| 15 namespace net { | 15 namespace net { |
| 16 | 16 |
| 17 QuicPacketGenerator::QuicPacketGenerator(QuicConnectionId connection_id, | 17 QuicPacketGenerator::QuicPacketGenerator(QuicConnectionId connection_id, |
| 18 QuicFramer* framer, | 18 QuicFramer* framer, |
| 19 QuicBufferAllocator* buffer_allocator, | 19 QuicBufferAllocator* buffer_allocator, |
| 20 DelegateInterface* delegate) | 20 DelegateInterface* delegate) |
| 21 : delegate_(delegate), | 21 : delegate_(delegate), |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 | 331 |
| 332 void QuicPacketGenerator::SetCurrentPath( | 332 void QuicPacketGenerator::SetCurrentPath( |
| 333 QuicPathId path_id, | 333 QuicPathId path_id, |
| 334 QuicPacketNumber least_packet_awaited_by_peer, | 334 QuicPacketNumber least_packet_awaited_by_peer, |
| 335 QuicPacketCount max_packets_in_flight) { | 335 QuicPacketCount max_packets_in_flight) { |
| 336 packet_creator_.SetCurrentPath(path_id, least_packet_awaited_by_peer, | 336 packet_creator_.SetCurrentPath(path_id, least_packet_awaited_by_peer, |
| 337 max_packets_in_flight); | 337 max_packets_in_flight); |
| 338 } | 338 } |
| 339 | 339 |
| 340 } // namespace net | 340 } // namespace net |
| OLD | NEW |