diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 05:30:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 12:30:36 +0000 |
commit | 562aba59981ae3d648503827d699ae8cbbeb6111 (patch) | |
tree | 6c87081fe54abeb19222388174122272a7f4f549 /remoting/host/gnubby_auth_handler_posix.h | |
parent | c24565478f64d1aa4d07e83c69d00bad11fa2665 (diff) | |
download | chromium_src-562aba59981ae3d648503827d699ae8cbbeb6111.zip chromium_src-562aba59981ae3d648503827d699ae8cbbeb6111.tar.gz chromium_src-562aba59981ae3d648503827d699ae8cbbeb6111.tar.bz2 |
Standardize usage of virtual/override/final in remoting/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.
BUG=417463
TBR=jamiewalch@chromium.org
Review URL: https://codereview.chromium.org/667123002
Cr-Commit-Position: refs/heads/master@{#300472}
Diffstat (limited to 'remoting/host/gnubby_auth_handler_posix.h')
-rw-r--r-- | remoting/host/gnubby_auth_handler_posix.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/remoting/host/gnubby_auth_handler_posix.h b/remoting/host/gnubby_auth_handler_posix.h index 99e9256..d1af652 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(); |