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.
5 #include "net/quic/test_tools/quic_packet_generator_peer.h"
7 #include "net/quic/quic_packet_creator.h"
8 #include "net/quic/quic_packet_generator.h"
14 QuicPacketCreator
* QuicPacketGeneratorPeer::GetPacketCreator(
15 QuicPacketGenerator
* generator
) {
16 return &generator
->packet_creator_
;
20 QuicTime::Delta
QuicPacketGeneratorPeer::GetFecTimeout(
21 QuicPacketGenerator
* generator
) {
22 return generator
->fec_timeout_
;