| Index: net/tools/quic/quic_dispatcher.h
|
| diff --git a/net/tools/quic/quic_dispatcher.h b/net/tools/quic/quic_dispatcher.h
|
| index 8d9197a4806e43fa67512495573303190315ef9d..4bcc487190d642f9b014af838e2c24134941ed0f 100644
|
| --- a/net/tools/quic/quic_dispatcher.h
|
| +++ b/net/tools/quic/quic_dispatcher.h
|
| @@ -257,8 +257,10 @@ class QuicDispatcher : public QuicServerSessionBase::Visitor,
|
|
|
| // Called when a new connection starts to be handled by this dispatcher.
|
| // Either this connection is created or its packets is buffered while waiting
|
| - // for CHLO.
|
| - virtual void OnNewConnectionAdded(QuicConnectionId connection_id);
|
| + // for CHLO. Returns true if a new connection should be created or its packets
|
| + // should be buffered, false otherwise.
|
| + virtual bool ShouldCreateOrBufferPacketForConnection(
|
| + QuicConnectionId connection_id);
|
|
|
| bool HasBufferedPackets(QuicConnectionId connection_id);
|
|
|
|
|