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

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

Issue 530343003: Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0828
Patch Set: Created 6 years, 3 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_unacked_packet_map.cc ('k') | net/quic/reliable_quic_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 client/server reliable streams. 5 // The base class for client/server reliable streams.
6 6
7 #ifndef NET_QUIC_RELIABLE_QUIC_STREAM_H_ 7 #ifndef NET_QUIC_RELIABLE_QUIC_STREAM_H_
8 #define NET_QUIC_RELIABLE_QUIC_STREAM_H_ 8 #define NET_QUIC_RELIABLE_QUIC_STREAM_H_
9 9
10 #include <sys/types.h> 10 #include <sys/types.h>
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 bool HasBufferedData() const; 154 bool HasBufferedData() const;
155 155
156 bool fin_buffered() const { return fin_buffered_; } 156 bool fin_buffered() const { return fin_buffered_; }
157 157
158 const QuicSession* session() const { return session_; } 158 const QuicSession* session() const { return session_; }
159 QuicSession* session() { return session_; } 159 QuicSession* session() { return session_; }
160 160
161 const QuicStreamSequencer* sequencer() const { return &sequencer_; } 161 const QuicStreamSequencer* sequencer() const { return &sequencer_; }
162 QuicStreamSequencer* sequencer() { return &sequencer_; } 162 QuicStreamSequencer* sequencer() { return &sequencer_; }
163 163
164 // TODO(rjshade): Remove this method when removing QUIC_VERSION_20. 164 // TODO(rjshade): Remove this method when removing QUIC_VERSION_19.
165 void DisableFlowControl() { 165 void DisableFlowControl() {
166 flow_controller_.Disable(); 166 flow_controller_.Disable();
167 } 167 }
168 168
169 void DisableConnectionFlowControlForThisStream() { 169 void DisableConnectionFlowControlForThisStream() {
170 stream_contributes_to_connection_flow_control_ = false; 170 stream_contributes_to_connection_flow_control_ = false;
171 } 171 }
172 172
173 private: 173 private:
174 friend class test::ReliableQuicStreamPeer; 174 friend class test::ReliableQuicStreamPeer;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // connection level flow control limits (but are stream level flow control 243 // connection level flow control limits (but are stream level flow control
244 // limited). 244 // limited).
245 bool stream_contributes_to_connection_flow_control_; 245 bool stream_contributes_to_connection_flow_control_;
246 246
247 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); 247 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream);
248 }; 248 };
249 249
250 } // namespace net 250 } // namespace net
251 251
252 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_ 252 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_unacked_packet_map.cc ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698