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

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

Issue 968233004: Land Recent QUIC Changes until 03/02/2015. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: Created 5 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/quic_data_reader.cc ('k') | net/quic/quic_data_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_QUIC_DATA_STREAM_H_ 9 #ifndef NET_QUIC_QUIC_DATA_STREAM_H_
10 #define NET_QUIC_QUIC_DATA_STREAM_H_ 10 #define NET_QUIC_QUIC_DATA_STREAM_H_
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 bool FinishedReadingHeaders(); 128 bool FinishedReadingHeaders();
129 129
130 Visitor* visitor_; 130 Visitor* visitor_;
131 // True if the headers have been completely decompresssed. 131 // True if the headers have been completely decompresssed.
132 bool headers_decompressed_; 132 bool headers_decompressed_;
133 // The priority of the stream, once parsed. 133 // The priority of the stream, once parsed.
134 QuicPriority priority_; 134 QuicPriority priority_;
135 // Contains a copy of the decompressed headers until they are consumed 135 // Contains a copy of the decompressed headers until they are consumed
136 // via ProcessData or Readv. 136 // via ProcessData or Readv.
137 std::string decompressed_headers_; 137 std::string decompressed_headers_;
138 // True if an error was encountered during decompression.
139 bool decompression_failed_;
140 // True if the priority has been read, false otherwise.
141 bool priority_parsed_;
142 138
143 DISALLOW_COPY_AND_ASSIGN(QuicDataStream); 139 DISALLOW_COPY_AND_ASSIGN(QuicDataStream);
144 }; 140 };
145 141
146 } // namespace net 142 } // namespace net
147 143
148 #endif // NET_QUIC_QUIC_DATA_STREAM_H_ 144 #endif // NET_QUIC_QUIC_DATA_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_data_reader.cc ('k') | net/quic/quic_data_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698