| Index: net/tools/quic/quic_client.h
|
| diff --git a/net/tools/quic/quic_client.h b/net/tools/quic/quic_client.h
|
| index ae5c2d9bc498fe6f18366071a2e054e55a61e41d..035f70c85c71fa7b86d214ad0526fdeac4ed3e46 100644
|
| --- a/net/tools/quic/quic_client.h
|
| +++ b/net/tools/quic/quic_client.h
|
| @@ -61,7 +61,7 @@ class QuicClient : public EpollCallbackInterface,
|
| const QuicConfig& config,
|
| EpollServer* epoll_server);
|
|
|
| - virtual ~QuicClient();
|
| + ~QuicClient() override;
|
|
|
| // Initializes the client to create a connection. Should be called exactly
|
| // once before calling StartConnect or Connect. Returns true if the
|
| @@ -105,19 +105,17 @@ class QuicClient : public EpollCallbackInterface,
|
| bool WaitForEvents();
|
|
|
| // From EpollCallbackInterface
|
| - virtual void OnRegistration(EpollServer* eps,
|
| - int fd,
|
| - int event_mask) override {}
|
| - virtual void OnModification(int fd, int event_mask) override {}
|
| - virtual void OnEvent(int fd, EpollEvent* event) override;
|
| + void OnRegistration(EpollServer* eps, int fd, int event_mask) override {}
|
| + void OnModification(int fd, int event_mask) override {}
|
| + void OnEvent(int fd, EpollEvent* event) override;
|
| // |fd_| can be unregistered without the client being disconnected. This
|
| // happens in b3m QuicProber where we unregister |fd_| to feed in events to
|
| // the client from the SelectServer.
|
| - virtual void OnUnregistration(int fd, bool replaced) override {}
|
| - virtual void OnShutdown(EpollServer* eps, int fd) override {}
|
| + void OnUnregistration(int fd, bool replaced) override {}
|
| + void OnShutdown(EpollServer* eps, int fd) override {}
|
|
|
| // QuicDataStream::Visitor
|
| - virtual void OnClose(QuicDataStream* stream) override;
|
| + void OnClose(QuicDataStream* stream) override;
|
|
|
| QuicClientSession* session() { return session_.get(); }
|
|
|
| @@ -192,9 +190,9 @@ class QuicClient : public EpollCallbackInterface,
|
| class DummyPacketWriterFactory : public QuicConnection::PacketWriterFactory {
|
| public:
|
| DummyPacketWriterFactory(QuicPacketWriter* writer);
|
| - virtual ~DummyPacketWriterFactory();
|
| + ~DummyPacketWriterFactory() override;
|
|
|
| - virtual QuicPacketWriter* Create(QuicConnection* connection) const override;
|
| + QuicPacketWriter* Create(QuicConnection* connection) const override;
|
|
|
| private:
|
| QuicPacketWriter* writer_;
|
|
|