diff options
author | nick <nick@chromium.org> | 2015-04-23 12:40:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-23 19:41:20 +0000 |
commit | 77137323157640d3eecae553956425c067054383 (patch) | |
tree | a42493ae6eedbb46cd2b5585c66c341351058154 /device/hid/hid_connection_win.cc | |
parent | 5eb91b27194d0065480930613c508deec54c0959 (diff) | |
download | chromium_src-77137323157640d3eecae553956425c067054383.zip chromium_src-77137323157640d3eecae553956425c067054383.tar.gz chromium_src-77137323157640d3eecae553956425c067054383.tar.bz2 |
Update {virtual,override} to follow C++11 style in device.
The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override.
This patch was manually generated using a regex and a text editor.
BUG=417463
Review URL: https://codereview.chromium.org/1107433002
Cr-Commit-Position: refs/heads/master@{#326609}
Diffstat (limited to 'device/hid/hid_connection_win.cc')
-rw-r--r-- | device/hid/hid_connection_win.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/device/hid/hid_connection_win.cc b/device/hid/hid_connection_win.cc index 47571c7..2e5eab2 100644 --- a/device/hid/hid_connection_win.cc +++ b/device/hid/hid_connection_win.cc @@ -40,10 +40,10 @@ struct PendingHidTransfer : public base::RefCounted<PendingHidTransfer>, OVERLAPPED* GetOverlapped() { return &overlapped_; } // Implements base::win::ObjectWatcher::Delegate. - virtual void OnObjectSignaled(HANDLE object) override; + void OnObjectSignaled(HANDLE object) override; // Implements base::MessageLoop::DestructionObserver - virtual void WillDestroyCurrentMessageLoop() override; + void WillDestroyCurrentMessageLoop() override; // The buffer isn't used by this object but it's important that a reference // to it is held until the transfer completes. @@ -56,7 +56,7 @@ struct PendingHidTransfer : public base::RefCounted<PendingHidTransfer>, private: friend class base::RefCounted<PendingHidTransfer>; - virtual ~PendingHidTransfer(); + ~PendingHidTransfer() override; DISALLOW_COPY_AND_ASSIGN(PendingHidTransfer); }; |