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

Unified Diff: ipc/ipc_channel_unittest.cc

Issue 645623006: Standardize usage of virtual/override/final in ipc/ (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
Index: ipc/ipc_channel_unittest.cc
diff --git a/ipc/ipc_channel_unittest.cc b/ipc/ipc_channel_unittest.cc
index b9d0723d434f5306ca939b36d5651aea74851ba8..1b28376c935e596f6d563e7e68afdba9efd6a52a 100644
--- a/ipc/ipc_channel_unittest.cc
+++ b/ipc/ipc_channel_unittest.cc
@@ -146,11 +146,9 @@ TEST_F(IPCChannelTest, ChannelProxyTest) {
class ChannelListenerWithOnConnectedSend : public IPC::TestChannelListener {
public:
ChannelListenerWithOnConnectedSend() {}
- virtual ~ChannelListenerWithOnConnectedSend() {}
+ ~ChannelListenerWithOnConnectedSend() override {}
- virtual void OnChannelConnected(int32 peer_pid) override {
- SendNextMessage();
- }
+ void OnChannelConnected(int32 peer_pid) override { SendNextMessage(); }
};
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698