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

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

Issue 514023002: Log the QUIC transmission type in QUIC internal server trace visitor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@log_quic_packet_sent_73894063
Patch Set: Created 6 years, 3 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_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 <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual ~DebugDelegate() {} 50 virtual ~DebugDelegate() {}
51 51
52 // Called when a spurious retransmission is detected. 52 // Called when a spurious retransmission is detected.
53 virtual void OnSpuriousPacketRetransmition( 53 virtual void OnSpuriousPacketRetransmition(
54 TransmissionType transmission_type, 54 TransmissionType transmission_type,
55 QuicByteCount byte_size) {} 55 QuicByteCount byte_size) {}
56 56
57 virtual void OnSentPacket( 57 virtual void OnSentPacket(
58 QuicPacketSequenceNumber sequence_number, 58 QuicPacketSequenceNumber sequence_number,
59 QuicTime sent_time, 59 QuicTime sent_time,
60 QuicByteCount bytes) {} 60 QuicByteCount bytes,
61 TransmissionType transmission_type) {}
61 62
62 virtual void OnRetransmittedPacket( 63 virtual void OnRetransmittedPacket(
63 QuicPacketSequenceNumber old_sequence_number, 64 QuicPacketSequenceNumber old_sequence_number,
64 QuicPacketSequenceNumber new_sequence_number, 65 QuicPacketSequenceNumber new_sequence_number,
65 TransmissionType transmission_type, 66 TransmissionType transmission_type,
66 QuicTime time) {} 67 QuicTime time) {}
67 68
68 virtual void OnIncomingAck( 69 virtual void OnIncomingAck(
69 const QuicAckFrame& ack_frame, 70 const QuicAckFrame& ack_frame,
70 QuicTime ack_receive_time, 71 QuicTime ack_receive_time,
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // Records bandwidth from server to client in normal operation, over periods 393 // Records bandwidth from server to client in normal operation, over periods
393 // of time with no loss events. 394 // of time with no loss events.
394 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; 395 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_;
395 396
396 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 397 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
397 }; 398 };
398 399
399 } // namespace net 400 } // namespace net
400 401
401 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 402 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698