// Copyright 2014 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_CORE_QUIC_PACKET_WRITER_WRAPPER_H_ #define QUICHE_QUIC_CORE_QUIC_PACKET_WRITER_WRAPPER_H_ #include <cstddef> #include <memory> #include "quiche/quic/core/quic_packet_writer.h" namespace quic { // Wraps a writer object to allow dynamically extending functionality. Use // cases: replace writer while dispatcher and connections hold on to the // wrapper; mix in monitoring; mix in mocks in unit tests. class QUICHE_EXPORT QuicPacketWriterWrapper : public QuicPacketWriter { … }; } // namespace quic #endif // QUICHE_QUIC_CORE_QUIC_PACKET_WRITER_WRAPPER_H_