We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / net / quic / test_tools / quic_packet_generator_peer.cc
blobc6ef40261869d696a598f568003bf2d9e2c11b2f
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"
10 namespace net {
11 namespace test {
13 // static
14 QuicPacketCreator* QuicPacketGeneratorPeer::GetPacketCreator(
15 QuicPacketGenerator* generator) {
16 return &generator->packet_creator_;
19 // static
20 QuicTime::Delta QuicPacketGeneratorPeer::GetFecTimeout(
21 QuicPacketGenerator* generator) {
22 return generator->fec_timeout_;
25 } // namespace test
26 } // namespace net