| Index: net/quic/quic_packet_creator.h
|
| diff --git a/net/quic/quic_packet_creator.h b/net/quic/quic_packet_creator.h
|
| index 5cdc958e175a4cddc1d7669c1a70bac5446a72ed..f43ba8c55ca3f17c36cb319232a282a9f443e94b 100644
|
| --- a/net/quic/quic_packet_creator.h
|
| +++ b/net/quic/quic_packet_creator.h
|
| @@ -33,18 +33,13 @@ class QuicRandom;
|
| class NET_EXPORT_PRIVATE QuicPacketCreator {
|
| public:
|
| // A delegate interface for further processing serialized packet.
|
| - class NET_EXPORT_PRIVATE DelegateInterface {
|
| + class NET_EXPORT_PRIVATE DelegateInterface : public QuicConnectionCloseDelegateInterface {
|
| public:
|
| - virtual ~DelegateInterface() {}
|
| + ~DelegateInterface() override {}
|
| // Called when a packet is serialized. Delegate does not take the ownership
|
| // of |serialized_packet|, but takes ownership of any frames it removes
|
| // from |packet.retransmittable_frames|.
|
| virtual void OnSerializedPacket(SerializedPacket* serialized_packet) = 0;
|
| -
|
| - // Called when an unrecoverable error is encountered.
|
| - virtual void OnUnrecoverableError(QuicErrorCode error,
|
| - const std::string& error_details,
|
| - ConnectionCloseSource source) = 0;
|
| };
|
|
|
| // Interface which gets callbacks from the QuicPacketCreator at interesting
|
|
|