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

Unified Diff: net/quic/quic_connection.cc

Issue 196053008: Add varz to track QUIC packets and bytes sent by transmission type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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_connection.h ('k') | net/quic/quic_connection_logger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index 8ae91ef80abe8ab7f06e25ed9cd836055d192a2c..dce0ca15c8305b7a53e9828d7bc98723bf864c6a 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -1300,8 +1300,11 @@ bool QuicConnection::WritePacket(QueuedPacket packet) {
}
if (debug_visitor_) {
// Pass the write result to the visitor.
- debug_visitor_->OnPacketSent(
- sequence_number, packet.encryption_level, *encrypted, result);
+ debug_visitor_->OnPacketSent(sequence_number,
+ packet.encryption_level,
+ packet.transmission_type,
+ *encrypted,
+ result);
}
if (result.status == WRITE_STATUS_BLOCKED) {
visitor_->OnWriteBlocked();
« no previous file with comments | « net/quic/quic_connection.h ('k') | net/quic/quic_connection_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698