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

Side by Side Diff: net/quic/core/quic_connection.h

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 years, 8 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/core/quic_config_test.cc ('k') | net/quic/core/quic_connection.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 entity that handles framing writes for a Quic client or server. 5 // The entity that handles framing writes for a Quic client or server.
6 // Each QuicSession will have a connection associated with it. 6 // Each QuicSession will have a connection associated with it.
7 // 7 //
8 // On the server side, the Dispatcher handles the raw reads, and hands off 8 // On the server side, the Dispatcher handles the raw reads, and hands off
9 // packets via ProcessUdpPacket for framing and processing. 9 // packets via ProcessUdpPacket for framing and processing.
10 // 10 //
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 // indicating if the fin bit was consumed. This does not indicate the data 338 // indicating if the fin bit was consumed. This does not indicate the data
339 // has been sent on the wire: it may have been turned into a packet and queued 339 // has been sent on the wire: it may have been turned into a packet and queued
340 // if the socket was unexpectedly blocked. 340 // if the socket was unexpectedly blocked.
341 // If |listener| is provided, then it will be informed once ACKs have been 341 // If |listener| is provided, then it will be informed once ACKs have been
342 // received for all the packets written in this call. 342 // received for all the packets written in this call.
343 // The |listener| is not owned by the QuicConnection and must outlive it. 343 // The |listener| is not owned by the QuicConnection and must outlive it.
344 virtual QuicConsumedData SendStreamData( 344 virtual QuicConsumedData SendStreamData(
345 QuicStreamId id, 345 QuicStreamId id,
346 QuicIOVector iov, 346 QuicIOVector iov,
347 QuicStreamOffset offset, 347 QuicStreamOffset offset,
348 bool fin, 348 StreamSendingState state,
349 QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener); 349 QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener);
350 350
351 // Send a RST_STREAM frame to the peer. 351 // Send a RST_STREAM frame to the peer.
352 virtual void SendRstStream(QuicStreamId id, 352 virtual void SendRstStream(QuicStreamId id,
353 QuicRstStreamErrorCode error, 353 QuicRstStreamErrorCode error,
354 QuicStreamOffset bytes_written); 354 QuicStreamOffset bytes_written);
355 355
356 // Send a BLOCKED frame to the peer. 356 // Send a BLOCKED frame to the peer.
357 virtual void SendBlocked(QuicStreamId id); 357 virtual void SendBlocked(QuicStreamId id);
358 358
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 1081
1082 // Indicates not to send or process stop waiting frames. 1082 // Indicates not to send or process stop waiting frames.
1083 bool no_stop_waiting_frames_; 1083 bool no_stop_waiting_frames_;
1084 1084
1085 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 1085 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
1086 }; 1086 };
1087 1087
1088 } // namespace net 1088 } // namespace net
1089 1089
1090 #endif // NET_QUIC_CORE_QUIC_CONNECTION_H_ 1090 #endif // NET_QUIC_CORE_QUIC_CONNECTION_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_config_test.cc ('k') | net/quic/core/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698