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

Unified Diff: net/quic/quic_connection_logger.cc

Issue 446063005: Move Quic AppendTimestampFrame method out of AppendCongestionFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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_config_test.cc ('k') | net/quic/quic_framer.h » ('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 8f2163bc6a663b07827d0284ef6cd89bf89bb3bc..6f7757e12d4e2ca8a1a87ce112605a233c8d9cca 100644
--- a/net/quic/quic_connection_logger.cc
+++ b/net/quic/quic_connection_logger.cc
@@ -122,13 +122,13 @@ base::Value* NetLogQuicCongestionFeedbackFrameCallback(
NetLog::LogLevel /* log_level */) {
base::DictionaryValue* dict = new base::DictionaryValue();
switch (frame->type) {
- case kInterArrival: {
- dict->SetString("type", "InterArrival");
+ case kTimestamp: {
+ dict->SetString("type", "Timestamp");
base::ListValue* received = new base::ListValue();
dict->Set("received_packets", received);
for (TimeMap::const_iterator it =
- frame->inter_arrival.received_packet_times.begin();
- it != frame->inter_arrival.received_packet_times.end(); ++it) {
+ frame->timestamp.received_packet_times.begin();
+ it != frame->timestamp.received_packet_times.end(); ++it) {
string value = base::Uint64ToString(it->first) + "@" +
base::Uint64ToString(it->second.ToDebuggingValue());
received->AppendString(value);
« no previous file with comments | « net/quic/quic_config_test.cc ('k') | net/quic/quic_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698