Index: net/quic/quic_connection.h |
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h |
index 0fdbf6355dcb449b138f57b4a5d15cdd0a145520..875f7df73d8e303a881752bbfc272e197f3acd20 100644 |
--- a/net/quic/quic_connection.h |
+++ b/net/quic/quic_connection.h |
@@ -161,8 +161,7 @@ class NET_EXPORT_PRIVATE QuicConnectionVisitorInterface { |
// points. Implementations must not mutate the state of the connection |
// as a result of these callbacks. |
class NET_EXPORT_PRIVATE QuicConnectionDebugVisitor |
- : public QuicPacketCreator::DebugDelegate, |
- public QuicSentPacketManager::DebugDelegate { |
+ : public QuicSentPacketManager::DebugDelegate { |
public: |
~QuicConnectionDebugVisitor() override {} |
@@ -490,9 +489,12 @@ class NET_EXPORT_PRIVATE QuicConnection |
} |
void set_debug_visitor(QuicConnectionDebugVisitor* debug_visitor) { |
debug_visitor_ = debug_visitor; |
- packet_generator_.set_debug_delegate(debug_visitor); |
sent_packet_manager_.set_debug_delegate(debug_visitor); |
} |
+ // Used in Chromium, but not internally. |
+ void set_creator_debug_delegate(QuicPacketCreator::DebugDelegate* visitor) { |
+ packet_generator_.set_debug_delegate(visitor); |
+ } |
const IPEndPoint& self_address() const { return self_address_; } |
const IPEndPoint& peer_address() const { return peer_address_; } |
QuicConnectionId connection_id() const { return connection_id_; } |