| Index: net/tools/quic/quic_client.h
|
| diff --git a/net/tools/quic/quic_client.h b/net/tools/quic/quic_client.h
|
| index a4fb6c31bd06343f1c2be696bb12f5275b2a95ff..9665e38fa77ad191d688d1632094482343642135 100644
|
| --- a/net/tools/quic/quic_client.h
|
| +++ b/net/tools/quic/quic_client.h
|
| @@ -188,6 +188,18 @@ class QuicClient : public EpollCallbackInterface,
|
| private:
|
| friend class net::tools::test::QuicClientPeer;
|
|
|
| + // A packet writer factory that always returns the same writer
|
| + class DummyPacketWriterFactory : public QuicConnection::PacketWriterFactory {
|
| + public:
|
| + DummyPacketWriterFactory(QuicPacketWriter* writer);
|
| + virtual ~DummyPacketWriterFactory();
|
| +
|
| + virtual QuicPacketWriter* Create(QuicConnection* connection) const override;
|
| +
|
| + private:
|
| + QuicPacketWriter* writer_;
|
| + };
|
| +
|
| // Used during initialization: creates the UDP socket FD, sets socket options,
|
| // and binds the socket to our address.
|
| bool CreateUDPSocket();
|
|
|