Index: net/quic/quic_connection.cc |
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc |
index f40b34dfe590af5b07e40d2d6115ad8c8e69a2ba..c6f1a0ca718dcf3df8df434c4e3de2acaac19da7 100644 |
--- a/net/quic/quic_connection.cc |
+++ b/net/quic/quic_connection.cc |
@@ -1698,6 +1698,9 @@ void QuicConnection::MaybeProcessUndecryptablePackets() { |
// never be able to be decrypted. |
if (encryption_level_ == ENCRYPTION_FORWARD_SECURE) { |
if (debug_visitor_.get() != NULL) { |
+ // TODO(rtenneti): perhaps more efficient to pass the number of |
+ // undecryptable packets as the argument to OnUndecryptablePacket so that |
+ // we just need to call OnUndecryptablePacket once? |
for (size_t i = 0; i < undecryptable_packets_.size(); ++i) { |
debug_visitor_->OnUndecryptablePacket(); |
} |