Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: net/tools/quic/quic_server.h

Issue 669813003: Update from chromium https://crrev.com/301725/ (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/quic/quic_per_connection_packet_writer.h ('k') | net/tools/quic/quic_server_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « net/tools/quic/quic_per_connection_packet_writer.h ('k') | net/tools/quic/quic_server_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698