Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2016 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 NET_QUIC_CORE_QUIC_SPDY_SERVER_STREAM_BASE_H_ | |
| 6 #define NET_QUIC_CORE_QUIC_SPDY_SERVER_STREAM_BASE_H_ | |
| 7 | |
| 8 #include "net/quic/core/quic_spdy_stream.h" | |
| 9 | |
| 10 namespace net { | |
| 11 | |
| 12 class QuicSpdyServerStreamBase : public QuicSpdyStream { | |
|
Zhongyi Shi
2016/12/01 21:58:17
nit: you might need to add NET_EXPORT_PRIVATE eith
| |
| 13 public: | |
| 14 QuicSpdyServerStreamBase(QuicStreamId id, QuicSpdySession* session); | |
| 15 | |
| 16 // Override the base class to send QUIC_STREAM_NO_ERROR to the peer | |
| 17 // when the stream has not received all the data. | |
| 18 void CloseWriteSide() override; | |
| 19 | |
| 20 private: | |
| 21 DISALLOW_COPY_AND_ASSIGN(QuicSpdyServerStreamBase); | |
| 22 }; | |
| 23 | |
| 24 } // namespace net | |
| 25 | |
| 26 #endif // NET_QUIC_CORE_QUIC_SPDY_SERVER_STREAM_BASE_H_ | |
| OLD | NEW |