Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: net/tools/quic/quic_spdy_server_stream_base.h

Issue 2746443003: move StopReading() from QuicSpdyStream to QuicSpdyServerStreamBase because this is server side feat… (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_spdy_stream.cc ('k') | net/tools/quic/quic_spdy_server_stream_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_BASE_H_ 5 #ifndef NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_BASE_H_
6 #define NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_BASE_H_ 6 #define NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_BASE_H_
7 7
8 #include "net/quic/core/quic_spdy_stream.h" 8 #include "net/quic/core/quic_spdy_stream.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 class QuicSpdyServerStreamBase : public QuicSpdyStream { 12 class QuicSpdyServerStreamBase : public QuicSpdyStream {
13 public: 13 public:
14 QuicSpdyServerStreamBase(QuicStreamId id, QuicSpdySession* session); 14 QuicSpdyServerStreamBase(QuicStreamId id, QuicSpdySession* session);
15 15
16 // Override the base class to send QUIC_STREAM_NO_ERROR to the peer 16 // Override the base class to send QUIC_STREAM_NO_ERROR to the peer
17 // when the stream has not received all the data. 17 // when the stream has not received all the data.
18 void CloseWriteSide() override; 18 void CloseWriteSide() override;
19 void StopReading() override;
19 20
20 private: 21 private:
21 DISALLOW_COPY_AND_ASSIGN(QuicSpdyServerStreamBase); 22 DISALLOW_COPY_AND_ASSIGN(QuicSpdyServerStreamBase);
22 }; 23 };
23 24
24 } // namespace net 25 } // namespace net
25 26
26 #endif // NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_BASE_H_ 27 #endif // NET_TOOLS_QUIC_QUIC_SPDY_SERVER_STREAM_BASE_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_spdy_stream.cc ('k') | net/tools/quic/quic_spdy_server_stream_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698