Chromium Code Reviews| Index: net/quic/quic_connection.h |
| diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h |
| index ee5955ffd42391364f30176cd0e0a618bd6f658f..ce39972b6afa90c2cc3c650947c897e02b9815a6 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 now takes ownership of |debug_visitor|. |
|
wtc
2014/08/14 01:54:58
Nit: remove "now".
ramant (doing other things)
2014/08/14 19:58:58
Done.
|
| void set_debug_visitor(QuicConnectionDebugVisitor* debug_visitor) { |
| debug_visitor_.reset(debug_visitor); |
| packet_generator_.set_debug_delegate(debug_visitor); |