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

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

Issue 1785863002: Remove FEC related connection options and update FEC related comment in code base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116555910
Patch Set: Created 4 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_unacked_packet_map.h ('k') | net/quic/test_tools/quic_connection_peer.h » ('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 // It does not contain the entire interface needed by an application to interact 7 // It does not contain the entire interface needed by an application to interact
8 // with a QUIC stream. Some parts of the interface must be obtained by 8 // with a QUIC stream. Some parts of the interface must be obtained by
9 // accessing the owning session object. A subclass of ReliableQuicStream 9 // accessing the owning session object. A subclass of ReliableQuicStream
10 // connects the object and the application that generates and consumes the data 10 // connects the object and the application that generates and consumes the data
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 } // namespace test 43 } // namespace test
44 44
45 class QuicSession; 45 class QuicSession;
46 46
47 class NET_EXPORT_PRIVATE ReliableQuicStream { 47 class NET_EXPORT_PRIVATE ReliableQuicStream {
48 public: 48 public:
49 ReliableQuicStream(QuicStreamId id, QuicSession* session); 49 ReliableQuicStream(QuicStreamId id, QuicSession* session);
50 50
51 virtual ~ReliableQuicStream(); 51 virtual ~ReliableQuicStream();
52 52
53 // Sets |fec_policy_| parameter from |session_|'s config. 53 // Not in use currently.
54 void SetFromConfig(); 54 void SetFromConfig();
55 55
56 // Called by the session when a (potentially duplicate) stream frame has been 56 // Called by the session when a (potentially duplicate) stream frame has been
57 // received for this stream. 57 // received for this stream.
58 virtual void OnStreamFrame(const QuicStreamFrame& frame); 58 virtual void OnStreamFrame(const QuicStreamFrame& frame);
59 59
60 // Called by the session when the connection becomes writeable to allow the 60 // Called by the session when the connection becomes writeable to allow the
61 // stream to write any pending data. 61 // stream to write any pending data.
62 virtual void OnCanWrite(); 62 virtual void OnCanWrite();
63 63
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // connection level flow control limits (but are stream level flow control 294 // connection level flow control limits (but are stream level flow control
295 // limited). 295 // limited).
296 bool stream_contributes_to_connection_flow_control_; 296 bool stream_contributes_to_connection_flow_control_;
297 297
298 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); 298 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream);
299 }; 299 };
300 300
301 } // namespace net 301 } // namespace net
302 302
303 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_ 303 #endif // NET_QUIC_RELIABLE_QUIC_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_unacked_packet_map.h ('k') | net/quic/test_tools/quic_connection_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698