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

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

Issue 1502493002: Fixed typo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@108704942
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | 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_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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // for this stream. 70 // for this stream.
71 // May be called multiple times, with each call providing additional headers 71 // May be called multiple times, with each call providing additional headers
72 // data until OnStreamHeadersComplete is called. 72 // data until OnStreamHeadersComplete is called.
73 virtual void OnStreamHeaders(base::StringPiece headers_data); 73 virtual void OnStreamHeaders(base::StringPiece headers_data);
74 74
75 // 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
76 // 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.
77 virtual void OnStreamHeadersPriority(SpdyPriority priority); 77 virtual void OnStreamHeadersPriority(SpdyPriority priority);
78 78
79 // Called by the session when decompressed headers have been completely 79 // Called by the session when decompressed headers have been completely
80 // delilvered to this stream. If |fin| is true, then this stream 80 // delivered to this stream. If |fin| is true, then this stream
81 // should be closed; no more data will be sent by the peer. 81 // should be closed; no more data will be sent by the peer.
82 virtual void OnStreamHeadersComplete(bool fin, size_t frame_len); 82 virtual void OnStreamHeadersComplete(bool fin, size_t frame_len);
83 83
84 // Override the base class to not discard response when receiving 84 // Override the base class to not discard response when receiving
85 // QUIC_STREAM_NO_ERROR on QUIC_VERSION_29 and later versions. 85 // QUIC_STREAM_NO_ERROR on QUIC_VERSION_29 and later versions.
86 void OnStreamReset(const QuicRstStreamFrame& frame) override; 86 void OnStreamReset(const QuicRstStreamFrame& frame) override;
87 87
88 // Writes the headers contained in |header_block| to the dedicated 88 // Writes the headers contained in |header_block| to the dedicated
89 // headers stream. 89 // headers stream.
90 virtual size_t WriteHeaders(const SpdyHeaderBlock& header_block, 90 virtual size_t WriteHeaders(const SpdyHeaderBlock& header_block,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // Contains a copy of the decompressed headers until they are consumed 137 // Contains a copy of the decompressed headers until they are consumed
138 // via ProcessData or Readv. 138 // via ProcessData or Readv.
139 std::string decompressed_headers_; 139 std::string decompressed_headers_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); 141 DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream);
142 }; 142 };
143 143
144 } // namespace net 144 } // namespace net
145 145
146 #endif // NET_QUIC_QUIC_SPDY_STREAM_H_ 146 #endif // NET_QUIC_QUIC_SPDY_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698