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

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

Issue 2537773006: Extract a QuicSpdyServerStreamBase class for code sharing between QuicSimpleServerStream and GfeQui… (Closed)
Patch Set: Created 4 years 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
OLDNEW
(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_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_server_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