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/quic_packet_generator.h" | 5 #include "net/quic/core/quic_packet_generator.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "net/quic/quic_bug_tracker.h" | 8 #include "net/quic/core/quic_bug_tracker.h" |
9 #include "net/quic/quic_flags.h" | 9 #include "net/quic/core/quic_flags.h" |
10 #include "net/quic/quic_utils.h" | 10 #include "net/quic/core/quic_utils.h" |
11 | 11 |
12 using base::StringPiece; | 12 using base::StringPiece; |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
16 QuicPacketGenerator::QuicPacketGenerator(QuicConnectionId connection_id, | 16 QuicPacketGenerator::QuicPacketGenerator(QuicConnectionId connection_id, |
17 QuicFramer* framer, | 17 QuicFramer* framer, |
18 QuicRandom* random_generator, | 18 QuicRandom* random_generator, |
19 QuicBufferAllocator* buffer_allocator, | 19 QuicBufferAllocator* buffer_allocator, |
20 DelegateInterface* delegate) | 20 DelegateInterface* delegate) |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 | 320 |
321 void QuicPacketGenerator::SetCurrentPath( | 321 void QuicPacketGenerator::SetCurrentPath( |
322 QuicPathId path_id, | 322 QuicPathId path_id, |
323 QuicPacketNumber least_packet_awaited_by_peer, | 323 QuicPacketNumber least_packet_awaited_by_peer, |
324 QuicPacketCount max_packets_in_flight) { | 324 QuicPacketCount max_packets_in_flight) { |
325 packet_creator_.SetCurrentPath(path_id, least_packet_awaited_by_peer, | 325 packet_creator_.SetCurrentPath(path_id, least_packet_awaited_by_peer, |
326 max_packets_in_flight); | 326 max_packets_in_flight); |
327 } | 327 } |
328 | 328 |
329 } // namespace net | 329 } // namespace net |
OLD | NEW |