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

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

Issue 2176323002: Deprecate FLAGS_quic_disable_pre_30. Remove QUIC versions [25-29]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@127879468
Patch Set: Created 4 years, 4 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
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_QUIC_SPDY_STREAM_H_ 9 #ifndef NET_QUIC_QUIC_SPDY_STREAM_H_
10 #define NET_QUIC_QUIC_SPDY_STREAM_H_ 10 #define NET_QUIC_QUIC_SPDY_STREAM_H_
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual void OnPromiseHeadersComplete(QuicStreamId promised_id, 108 virtual void OnPromiseHeadersComplete(QuicStreamId promised_id,
109 size_t frame_len); 109 size_t frame_len);
110 110
111 // Called by the session when decompressed push promise headers have 111 // Called by the session when decompressed push promise headers have
112 // been completely delivered to this stream. 112 // been completely delivered to this stream.
113 virtual void OnPromiseHeaderList(QuicStreamId promised_id, 113 virtual void OnPromiseHeaderList(QuicStreamId promised_id,
114 size_t frame_len, 114 size_t frame_len,
115 const QuicHeaderList& header_list); 115 const QuicHeaderList& header_list);
116 116
117 // Override the base class to not discard response when receiving 117 // Override the base class to not discard response when receiving
118 // QUIC_STREAM_NO_ERROR on QUIC_VERSION_29 and later versions. 118 // QUIC_STREAM_NO_ERROR.
119 void OnStreamReset(const QuicRstStreamFrame& frame) override; 119 void OnStreamReset(const QuicRstStreamFrame& frame) override;
120 120
121 // Writes the headers contained in |header_block| to the dedicated 121 // Writes the headers contained in |header_block| to the dedicated
122 // headers stream. 122 // headers stream.
123 virtual size_t WriteHeaders(SpdyHeaderBlock header_block, 123 virtual size_t WriteHeaders(SpdyHeaderBlock header_block,
124 bool fin, 124 bool fin,
125 QuicAckListenerInterface* ack_notifier_delegate); 125 QuicAckListenerInterface* ack_notifier_delegate);
126 126
127 // Sends |data| to the peer, or buffers if it can't be sent immediately. 127 // Sends |data| to the peer, or buffers if it can't be sent immediately.
128 void WriteOrBufferBody(const std::string& data, 128 void WriteOrBufferBody(const std::string& data,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 std::string decompressed_trailers_; 253 std::string decompressed_trailers_;
254 // The parsed trailers received from the peer. 254 // The parsed trailers received from the peer.
255 SpdyHeaderBlock received_trailers_; 255 SpdyHeaderBlock received_trailers_;
256 256
257 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); 257 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream);
258 }; 258 };
259 259
260 } // namespace net 260 } // namespace net
261 261
262 #endif // NET_QUIC_QUIC_SPDY_STREAM_H_ 262 #endif // NET_QUIC_QUIC_SPDY_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698