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

Side by Side Diff: net/quic/core/quic_spdy_stream.h

Issue 2747443002: Landing recent QUIC changes until Sun Mar 5 09:18:09 2017 +0000 (Closed)
Patch Set: Fixed formatting errors in quic_error_mapping.cc 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_session.cc ('k') | net/quic/core/quic_spdy_stream.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // The base class for streams which deliver data to/from an application. 5 // The base class for streams which deliver data to/from an application.
6 // In each direction, the data on such a stream first contains compressed 6 // In each direction, the data on such a stream first contains compressed
7 // headers then body data. 7 // headers then body data.
8 8
9 #ifndef NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ 9 #ifndef NET_QUIC_CORE_QUIC_SPDY_STREAM_H_
10 #define NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ 10 #define NET_QUIC_CORE_QUIC_SPDY_STREAM_H_
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 protected: 59 protected:
60 virtual ~Visitor() {} 60 virtual ~Visitor() {}
61 61
62 private: 62 private:
63 DISALLOW_COPY_AND_ASSIGN(Visitor); 63 DISALLOW_COPY_AND_ASSIGN(Visitor);
64 }; 64 };
65 65
66 QuicSpdyStream(QuicStreamId id, QuicSpdySession* spdy_session); 66 QuicSpdyStream(QuicStreamId id, QuicSpdySession* spdy_session);
67 ~QuicSpdyStream() override; 67 ~QuicSpdyStream() override;
68 68
69 void StopReading() override;
70
71 // QuicStream implementation 69 // QuicStream implementation
72 void OnClose() override; 70 void OnClose() override;
73 71
74 // Override to maybe close the write side after writing. 72 // Override to maybe close the write side after writing.
75 void OnCanWrite() override; 73 void OnCanWrite() override;
76 74
77 // Called by the session when headers with a priority have been received 75 // Called by the session when headers with a priority have been received
78 // for this stream. This method will only be called for server streams. 76 // for this stream. This method will only be called for server streams.
79 virtual void OnStreamHeadersPriority(SpdyPriority priority); 77 virtual void OnStreamHeadersPriority(SpdyPriority priority);
80 78
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 bool trailers_consumed_; 231 bool trailers_consumed_;
234 // The parsed trailers received from the peer. 232 // The parsed trailers received from the peer.
235 SpdyHeaderBlock received_trailers_; 233 SpdyHeaderBlock received_trailers_;
236 234
237 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); 235 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream);
238 }; 236 };
239 237
240 } // namespace net 238 } // namespace net
241 239
242 #endif // NET_QUIC_CORE_QUIC_SPDY_STREAM_H_ 240 #endif // NET_QUIC_CORE_QUIC_SPDY_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_spdy_session.cc ('k') | net/quic/core/quic_spdy_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698