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

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

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
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 // Manages the packet entropy calculation for both sent and received packets 5 // Manages the packet entropy calculation for both sent and received packets
6 // for a connection. 6 // for a connection.
7 7
8 #ifndef NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ 8 #ifndef NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_
9 #define NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ 9 #define NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_
10 10
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // to attach a QuicCongestionFeedbackFrame block. 122 // to attach a QuicCongestionFeedbackFrame block.
123 // Returns false if no QuicCongestionFeedbackFrame block is needed. 123 // Returns false if no QuicCongestionFeedbackFrame block is needed.
124 // Otherwise fills in feedback and returns true. 124 // Otherwise fills in feedback and returns true.
125 virtual bool GenerateCongestionFeedback( 125 virtual bool GenerateCongestionFeedback(
126 QuicCongestionFeedbackFrame* feedback); 126 QuicCongestionFeedbackFrame* feedback);
127 127
128 // QuicReceivedEntropyHashCalculatorInterface 128 // QuicReceivedEntropyHashCalculatorInterface
129 // Called by QuicFramer, when the outgoing ack gets truncated, to recalculate 129 // Called by QuicFramer, when the outgoing ack gets truncated, to recalculate
130 // the received entropy hash for the truncated ack frame. 130 // the received entropy hash for the truncated ack frame.
131 virtual QuicPacketEntropyHash EntropyHash( 131 virtual QuicPacketEntropyHash EntropyHash(
132 QuicPacketSequenceNumber sequence_number) const OVERRIDE; 132 QuicPacketSequenceNumber sequence_number) const override;
133 133
134 // Updates internal state based on |stop_waiting|. 134 // Updates internal state based on |stop_waiting|.
135 void UpdatePacketInformationSentByPeer( 135 void UpdatePacketInformationSentByPeer(
136 const QuicStopWaitingFrame& stop_waiting); 136 const QuicStopWaitingFrame& stop_waiting);
137 137
138 // Returns true when there are new missing packets to be reported within 3 138 // Returns true when there are new missing packets to be reported within 3
139 // packets of the largest observed. 139 // packets of the largest observed.
140 bool HasNewMissingPackets(); 140 bool HasNewMissingPackets();
141 141
142 QuicPacketSequenceNumber peer_least_packet_awaiting_ack() { 142 QuicPacketSequenceNumber peer_least_packet_awaiting_ack() {
(...skipping 30 matching lines...) Expand all
173 QuicConnectionStats* stats_; 173 QuicConnectionStats* stats_;
174 174
175 PacketTimeList received_packet_times_; 175 PacketTimeList received_packet_times_;
176 176
177 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManager); 177 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManager);
178 }; 178 };
179 179
180 } // namespace net 180 } // namespace net
181 181
182 #endif // NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ 182 #endif // NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698