1 // Copyright (c) 2018 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 #ifndef QUICHE_QUIC_TOOLS_QUIC_SIMPLE_CLIENT_STREAM_H_ 6 #define QUICHE_QUIC_TOOLS_QUIC_SIMPLE_CLIENT_STREAM_H_ 7 8 #include "quiche/quic/core/http/quic_spdy_client_stream.h" 9 10 namespace quic { 11 12 class QuicSimpleClientStream : public QuicSpdyClientStream { 13 public: QuicSimpleClientStream(QuicStreamId id,QuicSpdyClientSession * session,StreamType type,bool drop_response_body)14 QuicSimpleClientStream(QuicStreamId id, QuicSpdyClientSession* session, 15 StreamType type, bool drop_response_body) 16 : QuicSpdyClientStream(id, session, type), 17 drop_response_body_(drop_response_body) {} 18 void OnBodyAvailable() override; 19 20 private: 21 const bool drop_response_body_; 22 }; 23 24 } // namespace quic 25 26 #endif // QUICHE_QUIC_TOOLS_QUIC_SIMPLE_CLIENT_STREAM_H_ 27