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

Unified Diff: net/tools/flip_server/acceptor_thread.h

Issue 683113005: Update from chromium https://crrev.com/302282 (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/epoll_server/epoll_server.cc ('k') | net/tools/flip_server/flip_in_mem_edsm_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/flip_server/acceptor_thread.h
diff --git a/net/tools/flip_server/acceptor_thread.h b/net/tools/flip_server/acceptor_thread.h
index ecb431635892990b2b8fb505d071d3e5488fbdfb..981a089035d98982eb1ced8accfdf157fffd85e1 100644
--- a/net/tools/flip_server/acceptor_thread.h
+++ b/net/tools/flip_server/acceptor_thread.h
@@ -47,19 +47,17 @@ class SMAcceptorThread : public base::SimpleThread,
public SMConnectionPoolInterface {
public:
SMAcceptorThread(FlipAcceptor* acceptor, MemoryCache* memory_cache);
- virtual ~SMAcceptorThread();
+ ~SMAcceptorThread() override;
// EpollCallbackInteface interface
- 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 {}
- virtual void OnShutdown(EpollServer* eps, int fd) 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 {}
+ void OnShutdown(EpollServer* eps, int fd) override {}
// SMConnectionPool interface
- virtual void SMConnectionDone(SMConnection* sc) override;
+ void SMConnectionDone(SMConnection* sc) override;
// TODO(mbelshe): figure out if we can move these to private functions.
SMConnection* NewConnection();
@@ -75,7 +73,7 @@ class SMAcceptorThread : public base::SimpleThread,
// idle longer than the configured timeout.
void HandleConnectionIdleTimeout();
- virtual void Run() override;
+ void Run() override;
private:
EpollServer epoll_server_;
« no previous file with comments | « net/tools/epoll_server/epoll_server.cc ('k') | net/tools/flip_server/flip_in_mem_edsm_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698