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

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

Issue 1237453008: relnote: Call methods to handle QUIC frames immediately instead of (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Change_QuicConnectionVisitorInterface_97339157
Patch Set: Created 5 years, 5 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 | « no previous file | net/quic/quic_connection.cc » ('j') | net/quic/quic_connection.cc » ('J')
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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 QuicPacketHeader last_header_; 778 QuicPacketHeader last_header_;
779 std::vector<QuicStreamFrame> last_stream_frames_; 779 std::vector<QuicStreamFrame> last_stream_frames_;
780 std::vector<QuicAckFrame> last_ack_frames_; 780 std::vector<QuicAckFrame> last_ack_frames_;
781 std::vector<QuicStopWaitingFrame> last_stop_waiting_frames_; 781 std::vector<QuicStopWaitingFrame> last_stop_waiting_frames_;
782 std::vector<QuicRstStreamFrame> last_rst_frames_; 782 std::vector<QuicRstStreamFrame> last_rst_frames_;
783 std::vector<QuicGoAwayFrame> last_goaway_frames_; 783 std::vector<QuicGoAwayFrame> last_goaway_frames_;
784 std::vector<QuicWindowUpdateFrame> last_window_update_frames_; 784 std::vector<QuicWindowUpdateFrame> last_window_update_frames_;
785 std::vector<QuicBlockedFrame> last_blocked_frames_; 785 std::vector<QuicBlockedFrame> last_blocked_frames_;
786 std::vector<QuicPingFrame> last_ping_frames_; 786 std::vector<QuicPingFrame> last_ping_frames_;
787 std::vector<QuicConnectionCloseFrame> last_close_frames_; 787 std::vector<QuicConnectionCloseFrame> last_close_frames_;
788 bool should_last_packet_instigate_acks_;
788 789
789 // Track some peer state so we can do less bookkeeping 790 // Track some peer state so we can do less bookkeeping
790 // Largest sequence sent by the peer which had an ack frame (latest ack info). 791 // Largest sequence sent by the peer which had an ack frame (latest ack info).
791 QuicPacketSequenceNumber largest_seen_packet_with_ack_; 792 QuicPacketSequenceNumber largest_seen_packet_with_ack_;
792 793
793 // Largest sequence number sent by the peer which had a stop waiting frame. 794 // Largest sequence number sent by the peer which had a stop waiting frame.
794 QuicPacketSequenceNumber largest_seen_packet_with_stop_waiting_; 795 QuicPacketSequenceNumber largest_seen_packet_with_stop_waiting_;
795 796
796 // Collection of packets which were received before encryption was 797 // Collection of packets which were received before encryption was
797 // established, but which could not be decrypted. We buffer these on 798 // established, but which could not be decrypted. We buffer these on
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 940
940 // The size of the largest packet received from peer. 941 // The size of the largest packet received from peer.
941 QuicByteCount largest_received_packet_size_; 942 QuicByteCount largest_received_packet_size_;
942 943
943 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 944 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
944 }; 945 };
945 946
946 } // namespace net 947 } // namespace net
947 948
948 #endif // NET_QUIC_QUIC_CONNECTION_H_ 949 #endif // NET_QUIC_QUIC_CONNECTION_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | net/quic/quic_connection.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698