blob: dc6abf4c8cb0b4a9f37a696d4ba13cc152f2182f [file] [log] [blame]
// Copyright (c) 2018 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 NET_THIRD_PARTY_QUIC_TOOLS_QUIC_SIMPLE_CLIENT_STREAM_H_
#define NET_THIRD_PARTY_QUIC_TOOLS_QUIC_SIMPLE_CLIENT_STREAM_H_
#include "net/third_party/quic/core/http/quic_spdy_client_stream.h"
namespace quic {
class QuicSimpleClientStream : public QuicSpdyClientStream {
public:
QuicSimpleClientStream(QuicStreamId id,
QuicSpdyClientSession* session,
bool drop_response_body)
: QuicSpdyClientStream(id, session),
drop_response_body_(drop_response_body) {}
void OnDataAvailable() override;
private:
const bool drop_response_body_;
};
} // namespace quic
#endif // NET_THIRD_PARTY_QUIC_TOOLS_QUIC_SIMPLE_CLIENT_STREAM_H_