Index: net/quic/quic_connection.h |
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h |
index ee5955ffd42391364f30176cd0e0a618bd6f658f..4d57208caef001a3868d95538db8070f738e9e8a 100644 |
--- a/net/quic/quic_connection.h |
+++ b/net/quic/quic_connection.h |
@@ -137,7 +137,7 @@ class NET_EXPORT_PRIVATE QuicConnectionDebugVisitor |
const IPEndPoint& peer_address, |
const QuicEncryptedPacket& packet) {} |
- // Called when a packet is recived with a connection id that does not |
+ // Called when a packet is received with a connection id that does not |
// match the ID of this connection. |
virtual void OnIncorrectConnectionId( |
QuicConnectionId connection_id) {} |
@@ -375,6 +375,7 @@ class NET_EXPORT_PRIVATE QuicConnection |
void set_visitor(QuicConnectionVisitorInterface* visitor) { |
visitor_ = visitor; |
} |
+ // This method takes ownership of |debug_visitor|. |
void set_debug_visitor(QuicConnectionDebugVisitor* debug_visitor) { |
debug_visitor_.reset(debug_visitor); |
packet_generator_.set_debug_delegate(debug_visitor); |