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

Unified Diff: net/quic/quic_connection_logger.cc

Issue 1431693002: Change QuicAckFrame's revived_packets to be a single QuicPacketNumber. QUIC now ignores all but the… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106724344
Patch Set: Created 5 years, 1 month 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.cc ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_logger.cc
diff --git a/net/quic/quic_connection_logger.cc b/net/quic/quic_connection_logger.cc
index c24bb6e4ac9d920af261aa51e2dab78077db12c6..fd5791683ba28d96a5a6183baa0845c42913cc91 100644
--- a/net/quic/quic_connection_logger.cc
+++ b/net/quic/quic_connection_logger.cc
@@ -128,13 +128,9 @@ scoped_ptr<base::Value> NetLogQuicAckFrameCallback(
for (QuicPacketNumber packet : frame->missing_packets)
missing->AppendString(base::Uint64ToString(packet));
- base::ListValue* revived = new base::ListValue();
- dict->Set("revived_packets", revived);
- const PacketNumberSet& revived_packets = frame->revived_packets;
- for (PacketNumberSet::const_iterator it = revived_packets.begin();
- it != revived_packets.end(); ++it) {
- revived->AppendString(base::Uint64ToString(*it));
- }
+ dict->SetString(
+ "latest_revived_packet",
+ base::Int64ToString(frame->latest_revived_packet));
base::ListValue* received = new base::ListValue();
dict->Set("received_packet_times", received);
« no previous file with comments | « net/quic/quic_connection.cc ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698