summaryrefslogtreecommitdiffstats
path: root/base/sync_socket_unittest.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 03:54:51 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 10:55:12 +0000
commit5648818ef9d5ef5fda79cd5dde2e42567af07785 (patch)
treec7a0e1c173409ad3a70736413504d6ba3c2b0422 /base/sync_socket_unittest.cc
parent08038795458017a039565cfa158f0c379f91a007 (diff)
downloadchromium_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/sync_socket_unittest.cc')
-rw-r--r--base/sync_socket_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/sync_socket_unittest.cc b/base/sync_socket_unittest.cc
index ddd2fcc..7c8c97c 100644
--- a/base/sync_socket_unittest.cc
+++ b/base/sync_socket_unittest.cc
@@ -20,9 +20,9 @@ class HangingReceiveThread : public base::DelegateSimpleThread::Delegate {
thread_.Start();
}
- virtual ~HangingReceiveThread() {}
+ ~HangingReceiveThread() override {}
- virtual void Run() override {
+ void Run() override {
int data = 0;
ASSERT_EQ(socket_->Peek(), 0u);