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

Unified Diff: net/quic/quic_connection_logger.cc

Issue 12334063: Land recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more EXPECT_FALSE Created 7 years, 10 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_helper_test.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 42077ef9ab4e2596b120e7d7be17b789f12b39b3..6545f2ddb349199557657713591bdf1d4a0a7e45 100644
--- a/net/quic/quic_connection_logger.cc
+++ b/net/quic/quic_connection_logger.cc
@@ -30,10 +30,13 @@ Value* NetLogQuicPacketHeaderCallback(const QuicPacketHeader* header,
DictionaryValue* dict = new DictionaryValue();
dict->SetString("guid",
base::Uint64ToString(header->public_header.guid));
- dict->SetInteger("public_flags", header->public_header.flags);
+ dict->SetInteger("reset_flag", header->public_header.reset_flag);
+ dict->SetInteger("version_flag", header->public_header.version_flag);
dict->SetString("packet_sequence_number",
base::Uint64ToString(header->packet_sequence_number));
- dict->SetInteger("private_flags", header->private_flags);
+ dict->SetInteger("entropy_flag", header->entropy_flag);
+ dict->SetInteger("fec_flag", header->fec_flag);
+ dict->SetInteger("fec_entropy_flag", header->fec_entropy_flag);
dict->SetInteger("fec_group", header->fec_group);
return dict;
}
@@ -62,8 +65,9 @@ Value* NetLogQuicAckFrameCallback(const QuicAckFrame* frame,
base::Uint64ToString(frame->received_info.largest_observed));
ListValue* missing = new ListValue();
received_info->Set("missing_packets", missing);
- const SequenceSet& missing_packets = frame->received_info.missing_packets;
- for (SequenceSet::const_iterator it = missing_packets.begin();
+ const SequenceNumberSet& missing_packets =
+ frame->received_info.missing_packets;
+ for (SequenceNumberSet::const_iterator it = missing_packets.begin();
it != missing_packets.end(); ++it) {
missing->Append(new base::StringValue(base::Uint64ToString(*it)));
}
@@ -110,7 +114,6 @@ Value* NetLogQuicRstStreamFrameCallback(const QuicRstStreamFrame* frame,
NetLog::LogLevel /* log_level */) {
DictionaryValue* dict = new DictionaryValue();
dict->SetInteger("stream_id", frame->stream_id);
- dict->SetInteger("offset", frame->offset);
dict->SetInteger("error_code", frame->error_code);
dict->SetString("details", frame->error_details);
return dict;
« no previous file with comments | « net/quic/quic_connection_helper_test.cc ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698