Index: net/tools/quic/quic_server.h |
diff --git a/net/tools/quic/quic_server.h b/net/tools/quic/quic_server.h |
index a027a49973f765f323cfea04b1f05fff0d0d3834..980f9ba29ed07872f6bbd46eae3092ba039dbff7 100644 |
--- a/net/tools/quic/quic_server.h |
+++ b/net/tools/quic/quic_server.h |
@@ -33,7 +33,7 @@ class QuicServer : public EpollCallbackInterface { |
QuicServer(const QuicConfig& config, |
const QuicVersionVector& supported_versions); |
- virtual ~QuicServer(); |
+ ~QuicServer() override; |
// Start listening on the specified address. |
bool Listen(const IPEndPoint& address); |
@@ -45,12 +45,10 @@ class QuicServer : public EpollCallbackInterface { |
void Shutdown(); |
// 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; |
- virtual void OnUnregistration(int fd, bool replaced) 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; |
+ void OnUnregistration(int fd, bool replaced) override {} |
// Reads a packet from the given fd, and then passes it off to |
// the QuicDispatcher. Returns true if a packet is read, false |
@@ -62,7 +60,7 @@ class QuicServer : public EpollCallbackInterface { |
ProcessPacketInterface* processor, |
uint32* packets_dropped); |
- virtual void OnShutdown(EpollServer* eps, int fd) override {} |
+ void OnShutdown(EpollServer* eps, int fd) override {} |
void SetStrikeRegisterNoStartupPeriod() { |
crypto_config_.set_strike_register_no_startup_period(); |