| Index: net/quic/core/quic_connection.h
|
| diff --git a/net/quic/core/quic_connection.h b/net/quic/core/quic_connection.h
|
| index e4cb2f82735a714c98567178247ecffa5806e0e5..d5082c50ecb95b4385ad8d038d661d11a9eae605 100644
|
| --- a/net/quic/core/quic_connection.h
|
| +++ b/net/quic/core/quic_connection.h
|
| @@ -483,11 +483,13 @@ class NET_EXPORT_PRIVATE QuicConnection
|
| debug_visitor_ = debug_visitor;
|
| sent_packet_manager_->SetDebugDelegate(debug_visitor);
|
| }
|
| + // Used in Chromium, but not internally.
|
| + // Must only be called before ping_alarm_ is set.
|
| void set_ping_timeout(QuicTime::Delta ping_timeout) {
|
| + DCHECK(!ping_alarm_->IsSet());
|
| ping_timeout_ = ping_timeout;
|
| }
|
| const QuicTime::Delta ping_timeout() { return ping_timeout_; }
|
| - // Used in Chromium, but not internally.
|
| void set_creator_debug_delegate(QuicPacketCreator::DebugDelegate* visitor) {
|
| packet_generator_.set_debug_delegate(visitor);
|
| }
|
|
|