OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/test_tools/quic_packet_generator_peer.h" | 5 #include "net/quic/test_tools/quic_packet_generator_peer.h" |
6 | 6 |
7 #include "net/quic/quic_packet_creator.h" | 7 #include "net/quic/quic_packet_creator.h" |
8 #include "net/quic/quic_packet_generator.h" | 8 #include "net/quic/quic_packet_generator.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 namespace test { | 11 namespace test { |
12 | 12 |
13 // static | 13 // static |
14 QuicPacketCreator* QuicPacketGeneratorPeer::GetPacketCreator( | 14 QuicPacketCreator* QuicPacketGeneratorPeer::GetPacketCreator( |
15 QuicPacketGenerator* generator) { | 15 QuicPacketGenerator* generator) { |
16 return &generator->packet_creator_; | 16 return &generator->packet_creator_; |
17 } | 17 } |
18 | 18 |
| 19 // static |
| 20 QuicTime::Delta QuicPacketGeneratorPeer::GetFecTimeout( |
| 21 QuicPacketGenerator* generator) { |
| 22 return generator->fec_timeout_; |
| 23 } |
| 24 |
19 } // namespace test | 25 } // namespace test |
20 } // namespace net | 26 } // namespace net |
OLD | NEW |