// Copyright 2017 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. #ifndef QUICHE_QUIC_TEST_TOOLS_BAD_PACKET_WRITER_H_ #define QUICHE_QUIC_TEST_TOOLS_BAD_PACKET_WRITER_H_ #include "quiche/quic/core/quic_packet_writer_wrapper.h" namespace quic { namespace test { // This packet writer allows causing packet write error with specified error // code when writing a particular packet. class BadPacketWriter : public QuicPacketWriterWrapper { … }; } // namespace test } // namespace quic #endif // QUICHE_QUIC_TEST_TOOLS_BAD_PACKET_WRITER_H_