1 // Copyright 2013 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_test_writer.h" 6 7 namespace net { 8 namespace test { 9 10 QuicTestWriter::QuicTestWriter() {} 11 12 QuicTestWriter::~QuicTestWriter() {} 13 14 QuicPacketWriter* QuicTestWriter::writer() { 15 return writer_.get(); 16 } 17 18 void QuicTestWriter::set_writer(QuicPacketWriter* writer) { 19 writer_.reset(writer); 20 } 21 22 } // namespace test 23 } // namespace net 24