blob: aa6d2f6fe441e2cf6cf37d529af169e1a768cb71 [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// 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 "net/third_party/quiche/src/quic/core/http/quic_spdy_client_stream.h"
9
10namespace quic {
11
12class QuicSimpleClientStream : public QuicSpdyClientStream {
13 public:
14 QuicSimpleClientStream(QuicStreamId id,
15 QuicSpdyClientSession* session,
16 StreamType type,
17 bool drop_response_body)
18 : QuicSpdyClientStream(id, session, type),
renjietange5c12382019-11-07 10:13:14 -080019 drop_response_body_(drop_response_body) {}
QUICHE teama6ef0a62019-03-07 20:34:33 -050020 void OnBodyAvailable() override;
QUICHE teama6ef0a62019-03-07 20:34:33 -050021
QUICHE teama6ef0a62019-03-07 20:34:33 -050022 private:
23 const bool drop_response_body_;
QUICHE teama6ef0a62019-03-07 20:34:33 -050024};
25
26} // namespace quic
27
28#endif // QUICHE_QUIC_TOOLS_QUIC_SIMPLE_CLIENT_STREAM_H_