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

Unified Diff: net/quic/quic_sent_packet_manager.cc

Issue 515003002: Not used in production. Log whether a QUIC packet sent was a crypto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_ping_bug_73837644
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_sent_packet_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sent_packet_manager.cc
diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc
index 21a4fbcd84b6f16856a8ba4e21e8f2a851baee31..a084e3a883405b9b981cdcde35d91a0e1ad96e0d 100644
--- a/net/quic/quic_sent_packet_manager.cc
+++ b/net/quic/quic_sent_packet_manager.cc
@@ -144,8 +144,11 @@ void QuicSentPacketManager::OnSerializedPacket(
if (serialized_packet.retransmittable_frames) {
ack_notifier_manager_.OnSerializedPacket(serialized_packet);
}
-
unacked_packets_.AddPacket(serialized_packet);
+
+ if (debug_delegate_ != NULL) {
+ debug_delegate_->OnSerializedPacket(serialized_packet);
+ }
}
void QuicSentPacketManager::OnRetransmittedPacket(
« no previous file with comments | « net/quic/quic_sent_packet_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698