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; |
} |