Chromium Code Reviews| Index: net/tools/quic/quic_spdy_server_stream_base.h |
| diff --git a/net/tools/quic/quic_spdy_server_stream_base.h b/net/tools/quic/quic_spdy_server_stream_base.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ebadee1318e38e044d80e3dfaca03138531a6133 |
| --- /dev/null |
| +++ b/net/tools/quic/quic_spdy_server_stream_base.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright (c) 2016 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_QUIC_CORE_QUIC_SPDY_SERVER_STREAM_BASE_H_ |
| +#define NET_QUIC_CORE_QUIC_SPDY_SERVER_STREAM_BASE_H_ |
| + |
| +#include "net/quic/core/quic_spdy_stream.h" |
| + |
| +namespace net { |
| + |
| +class QuicSpdyServerStreamBase : public QuicSpdyStream { |
|
Zhongyi Shi
2016/12/01 21:58:17
nit: you might need to add NET_EXPORT_PRIVATE eith
|
| + public: |
| + QuicSpdyServerStreamBase(QuicStreamId id, QuicSpdySession* session); |
| + |
| + // Override the base class to send QUIC_STREAM_NO_ERROR to the peer |
| + // when the stream has not received all the data. |
| + void CloseWriteSide() override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(QuicSpdyServerStreamBase); |
| +}; |
| + |
| +} // namespace net |
| + |
| +#endif // NET_QUIC_CORE_QUIC_SPDY_SERVER_STREAM_BASE_H_ |