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

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

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_framer.cc ('k') | net/quic/quic_sent_packet_manager.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 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 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // Called when a spurious retransmission is detected. 50 // Called when a spurious retransmission is detected.
51 virtual void OnSpuriousPacketRetransmition( 51 virtual void OnSpuriousPacketRetransmition(
52 TransmissionType transmission_type, 52 TransmissionType transmission_type,
53 QuicByteCount byte_size) {} 53 QuicByteCount byte_size) {}
54 54
55 virtual void OnIncomingAck( 55 virtual void OnIncomingAck(
56 const QuicAckFrame& ack_frame, 56 const QuicAckFrame& ack_frame,
57 QuicTime ack_receive_time, 57 QuicTime ack_receive_time,
58 QuicPacketSequenceNumber largest_observed, 58 QuicPacketSequenceNumber largest_observed,
59 bool largest_observed_acked, 59 bool rtt_updated,
60 QuicPacketSequenceNumber least_unacked_sent_packet) {} 60 QuicPacketSequenceNumber least_unacked_sent_packet) {}
61 }; 61 };
62 62
63 // Interface which gets callbacks from the QuicSentPacketManager when 63 // Interface which gets callbacks from the QuicSentPacketManager when
64 // network-related state changes. Implementations must not mutate the 64 // network-related state changes. Implementations must not mutate the
65 // state of the packet manager as a result of these callbacks. 65 // state of the packet manager as a result of these callbacks.
66 class NET_EXPORT_PRIVATE NetworkChangeVisitor { 66 class NET_EXPORT_PRIVATE NetworkChangeVisitor {
67 public: 67 public:
68 virtual ~NetworkChangeVisitor() {} 68 virtual ~NetworkChangeVisitor() {}
69 69
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 // Records bandwidth from server to client in normal operation, over periods 405 // Records bandwidth from server to client in normal operation, over periods
406 // of time with no loss events. 406 // of time with no loss events.
407 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; 407 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_;
408 408
409 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 409 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
410 }; 410 };
411 411
412 } // namespace net 412 } // namespace net
413 413
414 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 414 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_framer.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698