| Index: net/quic/quic_dispatcher.h
|
| diff --git a/net/quic/quic_dispatcher.h b/net/quic/quic_dispatcher.h
|
| index b4be0ee06cd9a33daa6d4e7309ddd9e1484ed54a..640cec815e9c3eeac59483b20b96d99b398a1994 100644
|
| --- a/net/quic/quic_dispatcher.h
|
| +++ b/net/quic/quic_dispatcher.h
|
| @@ -60,11 +60,10 @@ class QuicDispatcher : public QuicBlockedWriterInterface,
|
| // Creates ordinary QuicPerConnectionPacketWriter instances.
|
| class DefaultPacketWriterFactory : public PacketWriterFactory {
|
| public:
|
| - virtual ~DefaultPacketWriterFactory() {}
|
| + ~DefaultPacketWriterFactory() override {}
|
|
|
| - virtual QuicPacketWriter* Create(
|
| - QuicServerPacketWriter* writer,
|
| - QuicConnection* connection) override;
|
| + QuicPacketWriter* Create(QuicServerPacketWriter* writer,
|
| + QuicConnection* connection) override;
|
| };
|
|
|
| // Ideally we'd have a linked_hash_set: the boolean is unused.
|
| @@ -80,16 +79,16 @@ class QuicDispatcher : public QuicBlockedWriterInterface,
|
| PacketWriterFactory* packet_writer_factory,
|
| QuicConnectionHelperInterface* helper);
|
|
|
| - virtual ~QuicDispatcher();
|
| + ~QuicDispatcher() override;
|
|
|
| // Takes ownership of the packet writer.
|
| virtual void Initialize(QuicServerPacketWriter* writer);
|
|
|
| // Process the incoming packet by creating a new session, passing it to
|
| // an existing session, or passing it to the TimeWaitListManager.
|
| - virtual void ProcessPacket(const IPEndPoint& server_address,
|
| - const IPEndPoint& client_address,
|
| - const QuicEncryptedPacket& packet) override;
|
| + void ProcessPacket(const IPEndPoint& server_address,
|
| + const IPEndPoint& client_address,
|
| + const QuicEncryptedPacket& packet) override;
|
|
|
| // Returns true if there's anything in the blocked writer list.
|
| virtual bool HasPendingWrites() const;
|
| @@ -99,16 +98,15 @@ class QuicDispatcher : public QuicBlockedWriterInterface,
|
|
|
| // QuicBlockedWriterInterface implementation:
|
| // Called when the socket becomes writable to allow queued writes to happen.
|
| - virtual void OnCanWrite() override;
|
| + void OnCanWrite() override;
|
|
|
| // QuicServerSessionVisitor interface implementation:
|
| // Ensure that the closed connection is cleaned up asynchronously.
|
| - virtual void OnConnectionClosed(QuicConnectionId connection_id,
|
| - QuicErrorCode error) override;
|
| + void OnConnectionClosed(QuicConnectionId connection_id,
|
| + QuicErrorCode error) override;
|
|
|
| // Queues the blocked writer for later resumption.
|
| - virtual void OnWriteBlocked(
|
| - QuicBlockedWriterInterface* blocked_writer) override;
|
| + void OnWriteBlocked(QuicBlockedWriterInterface* blocked_writer) override;
|
|
|
| typedef base::hash_map<QuicConnectionId, QuicSession*> SessionMap;
|
|
|
| @@ -183,9 +181,9 @@ class QuicDispatcher : public QuicBlockedWriterInterface,
|
| public QuicConnection::PacketWriterFactory {
|
| public:
|
| PacketWriterFactoryAdapter(QuicDispatcher* dispatcher);
|
| - virtual ~PacketWriterFactoryAdapter ();
|
| + ~PacketWriterFactoryAdapter() override;
|
|
|
| - virtual QuicPacketWriter* Create(QuicConnection* connection) const override;
|
| + QuicPacketWriter* Create(QuicConnection* connection) const override;
|
|
|
| private:
|
| QuicDispatcher* dispatcher_;
|
|
|