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

Unified Diff: net/quic/quic_connection.h

Issue 454263002: QUIC - clean up changes to keep in sync with internal source tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 4 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: 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);

Powered by Google App Engine
This is Rietveld 408576698