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

Unified Diff: blimp/net/compressed_packet_reader.cc

Issue 1962393004: Added a debug info UI for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Kevin's comments Created 4 years, 7 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
Index: blimp/net/compressed_packet_reader.cc
diff --git a/blimp/net/compressed_packet_reader.cc b/blimp/net/compressed_packet_reader.cc
index 92a3b9ae9dbae5985ae754130c1082c963e539a0..ce27fef856b3d3d80fd39dcb8e17aa314b49c48c 100644
--- a/blimp/net/compressed_packet_reader.cc
+++ b/blimp/net/compressed_packet_reader.cc
@@ -93,6 +93,10 @@ int CompressedPacketReader::DecompressPacket(
return net::ERR_FILE_TOO_BIG;
}
+ if (connection_statistics_) {
Kevin M 2016/05/20 01:02:04 Test this interaction?
shaktisahu 2016/05/22 22:36:57 Done.
+ connection_statistics_->Add(
+ BlimpConnectionStatistics::EventType::BYTES_RECEIVED, size);
+ }
return decompressed_size;
}

Powered by Google App Engine
This is Rietveld 408576698