summaryrefslogtreecommitdiffstats
path: root/chromium/net/quic/test_tools/quic_test_writer.cc
blob: 6755b2cfa8ca7cab0e594628a804f009e3b3a9ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/quic/test_tools/quic_test_writer.h"

namespace net {
namespace test {

QuicTestWriter::QuicTestWriter() {}

QuicTestWriter::~QuicTestWriter() {}

QuicPacketWriter* QuicTestWriter::writer() {
  return writer_.get();
}

void QuicTestWriter::set_writer(QuicPacketWriter* writer) {
  writer_.reset(writer);
}

}  // namespace test
}  // namespace net