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

Unified Diff: remoting/host/gnubby_auth_handler_posix.h

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « remoting/host/fake_mouse_cursor_monitor.h ('k') | remoting/host/gnubby_auth_handler_posix_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/gnubby_auth_handler_posix.h
diff --git a/remoting/host/gnubby_auth_handler_posix.h b/remoting/host/gnubby_auth_handler_posix.h
index 99e9256d84e7726cb368dabfa1cbfdddb998e2c4..d1af652877215311bb064ba64d36ae552304d932 100644
--- a/remoting/host/gnubby_auth_handler_posix.h
+++ b/remoting/host/gnubby_auth_handler_posix.h
@@ -30,7 +30,7 @@ class GnubbyAuthHandlerPosix : public GnubbyAuthHandler,
public net::StreamListenSocket::Delegate {
public:
explicit GnubbyAuthHandlerPosix(protocol::ClientStub* client_stub);
- virtual ~GnubbyAuthHandlerPosix();
+ ~GnubbyAuthHandlerPosix() override;
bool HasActiveSocketForTesting(net::StreamListenSocket* socket) const;
int GetConnectionIdForTesting(net::StreamListenSocket* socket) const;
@@ -41,17 +41,17 @@ class GnubbyAuthHandlerPosix : public GnubbyAuthHandler,
typedef std::map<int, GnubbySocket*> ActiveSockets;
// GnubbyAuthHandler interface.
- virtual void DeliverClientMessage(const std::string& message) override;
- virtual void DeliverHostDataMessage(int connection_id,
- const std::string& data) const override;
+ void DeliverClientMessage(const std::string& message) override;
+ void DeliverHostDataMessage(int connection_id,
+ const std::string& data) const override;
// StreamListenSocket::Delegate interface.
- virtual void DidAccept(net::StreamListenSocket* server,
- scoped_ptr<net::StreamListenSocket> socket) override;
- virtual void DidRead(net::StreamListenSocket* socket,
- const char* data,
- int len) override;
- virtual void DidClose(net::StreamListenSocket* socket) override;
+ void DidAccept(net::StreamListenSocket* server,
+ scoped_ptr<net::StreamListenSocket> socket) override;
+ void DidRead(net::StreamListenSocket* socket,
+ const char* data,
+ int len) override;
+ void DidClose(net::StreamListenSocket* socket) override;
// Create socket for authorization.
void CreateAuthorizationSocket();
« no previous file with comments | « remoting/host/fake_mouse_cursor_monitor.h ('k') | remoting/host/gnubby_auth_handler_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698