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

Unified Diff: ipc/ipc_perftest_support.cc

Issue 666493005: 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
« no previous file with comments | « ipc/ipc_message_macros.h ('k') | ipc/ipc_send_fds_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_perftest_support.cc
diff --git a/ipc/ipc_perftest_support.cc b/ipc/ipc_perftest_support.cc
index e60de91ec60782d1584104a6ecf718e21c18409e..d0cbe5ef803ac4c802b8a517d05c1a5b190b8cba 100644
--- a/ipc/ipc_perftest_support.cc
+++ b/ipc/ipc_perftest_support.cc
@@ -81,7 +81,7 @@ class ChannelReflectorListener : public Listener {
VLOG(1) << "Client listener up";
}
- virtual ~ChannelReflectorListener() {
+ ~ChannelReflectorListener() override {
VLOG(1) << "Client listener down";
latency_tracker_.ShowResults();
}
@@ -91,7 +91,7 @@ class ChannelReflectorListener : public Listener {
channel_ = channel;
}
- virtual bool OnMessageReceived(const Message& message) override {
+ bool OnMessageReceived(const Message& message) override {
CHECK(channel_);
PickleIterator iter(message);
@@ -142,7 +142,7 @@ class PerformanceChannelListener : public Listener {
VLOG(1) << "Server listener up";
}
- virtual ~PerformanceChannelListener() {
+ ~PerformanceChannelListener() override {
VLOG(1) << "Server listener down";
}
@@ -160,7 +160,7 @@ class PerformanceChannelListener : public Listener {
payload_ = std::string(msg_size_, 'a');
}
- virtual bool OnMessageReceived(const Message& message) override {
+ bool OnMessageReceived(const Message& message) override {
CHECK(sender_);
PickleIterator iter(message);
« no previous file with comments | « ipc/ipc_message_macros.h ('k') | ipc/ipc_send_fds_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698