| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "net/quic/test_tools/quic_packet_generator_peer.h" | |
| 6 | |
| 7 #include "net/quic/quic_packet_creator.h" | |
| 8 #include "net/quic/quic_packet_generator.h" | |
| 9 | |
| 10 namespace net { | |
| 11 namespace test { | |
| 12 | |
| 13 // static | |
| 14 QuicPacketCreator* QuicPacketGeneratorPeer::GetPacketCreator( | |
| 15 QuicPacketGenerator* generator) { | |
| 16 return &generator->packet_creator_; | |
| 17 } | |
| 18 | |
| 19 // static | |
| 20 QuicTime::Delta QuicPacketGeneratorPeer::GetFecTimeout( | |
| 21 QuicPacketGenerator* generator) { | |
| 22 return generator->fec_timeout_; | |
| 23 } | |
| 24 | |
| 25 } // namespace test | |
| 26 } // namespace net | |
| OLD | NEW |