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

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

Issue 627583002: Remove QuicSentPacketManager::DebugVisitor's OnSentPacket, since it's (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client_provides_an_STK_76455340
Patch Set: 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 #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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // the packet manager or connection as a result of these callbacks. 44 // the packet manager or connection as a result of these callbacks.
45 class NET_EXPORT_PRIVATE DebugDelegate { 45 class NET_EXPORT_PRIVATE DebugDelegate {
46 public: 46 public:
47 virtual ~DebugDelegate() {} 47 virtual ~DebugDelegate() {}
48 48
49 // Called when a spurious retransmission is detected. 49 // Called when a spurious retransmission is detected.
50 virtual void OnSpuriousPacketRetransmition( 50 virtual void OnSpuriousPacketRetransmition(
51 TransmissionType transmission_type, 51 TransmissionType transmission_type,
52 QuicByteCount byte_size) {} 52 QuicByteCount byte_size) {}
53 53
54 virtual void OnSentPacket(
55 const SerializedPacket& packet,
56 QuicPacketSequenceNumber original_sequence_number,
57 QuicTime sent_time,
58 QuicByteCount bytes,
59 TransmissionType transmission_type) {}
60
61 virtual void OnIncomingAck( 54 virtual void OnIncomingAck(
62 const QuicAckFrame& ack_frame, 55 const QuicAckFrame& ack_frame,
63 QuicTime ack_receive_time, 56 QuicTime ack_receive_time,
64 QuicPacketSequenceNumber largest_observed, 57 QuicPacketSequenceNumber largest_observed,
65 bool largest_observed_acked, 58 bool largest_observed_acked,
66 QuicPacketSequenceNumber least_unacked_sent_packet) {} 59 QuicPacketSequenceNumber least_unacked_sent_packet) {}
67 }; 60 };
68 61
69 // Interface which gets callbacks from the QuicSentPacketManager when 62 // Interface which gets callbacks from the QuicSentPacketManager when
70 // network-related state changes. Implementations must not mutate the 63 // network-related state changes. Implementations must not mutate the
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 // Records bandwidth from server to client in normal operation, over periods 377 // Records bandwidth from server to client in normal operation, over periods
385 // of time with no loss events. 378 // of time with no loss events.
386 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; 379 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_;
387 380
388 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 381 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
389 }; 382 };
390 383
391 } // namespace net 384 } // namespace net
392 385
393 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 386 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698