diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 03:54:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 10:55:12 +0000 |
commit | 5648818ef9d5ef5fda79cd5dde2e42567af07785 (patch) | |
tree | c7a0e1c173409ad3a70736413504d6ba3c2b0422 /base/async_socket_io_handler.h | |
parent | 08038795458017a039565cfa158f0c379f91a007 (diff) | |
download | chromium_src-5648818ef9d5ef5fda79cd5dde2e42567af07785.zip chromium_src-5648818ef9d5ef5fda79cd5dde2e42567af07785.tar.gz chromium_src-5648818ef9d5ef5fda79cd5dde2e42567af07785.tar.bz2 |
Standardize usage of virtual/override/final in base/
BUG=417463
TBR=danakj@chromium.org
Review URL: https://codereview.chromium.org/668783004
Cr-Commit-Position: refs/heads/master@{#300447}
Diffstat (limited to 'base/async_socket_io_handler.h')
-rw-r--r-- | base/async_socket_io_handler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/async_socket_io_handler.h b/base/async_socket_io_handler.h index 71ca5f4..bedb00f 100644 --- a/base/async_socket_io_handler.h +++ b/base/async_socket_io_handler.h @@ -54,7 +54,7 @@ class BASE_EXPORT AsyncSocketIoHandler #endif public: AsyncSocketIoHandler(); - virtual ~AsyncSocketIoHandler(); + ~AsyncSocketIoHandler() override; // Type definition for the callback. The parameter tells how many // bytes were read and is 0 if an error occurred. @@ -81,8 +81,8 @@ class BASE_EXPORT AsyncSocketIoHandler DWORD error) override; #elif defined(OS_POSIX) // Implementation of base::MessageLoopForIO::Watcher. - virtual void OnFileCanWriteWithoutBlocking(int socket) override {} - virtual void OnFileCanReadWithoutBlocking(int socket) override; + void OnFileCanWriteWithoutBlocking(int socket) override {} + void OnFileCanReadWithoutBlocking(int socket) override; void EnsureWatchingSocket(); #endif |