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

Unified Diff: ipc/ipc_perftest_support.cc

Issue 669953003: Revert of 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 ab06ed61b94b5259d81d7f0530ad9868f2cd84f6..e60de91ec60782d1584104a6ecf718e21c18409e 100644
--- a/ipc/ipc_perftest_support.cc
+++ b/ipc/ipc_perftest_support.cc
@@ -81,7 +81,7 @@
VLOG(1) << "Client listener up";
}
- ~ChannelReflectorListener() override {
+ virtual ~ChannelReflectorListener() {
VLOG(1) << "Client listener down";
latency_tracker_.ShowResults();
}
@@ -91,7 +91,7 @@
channel_ = channel;
}
- bool OnMessageReceived(const Message& message) override {
+ virtual bool OnMessageReceived(const Message& message) override {
CHECK(channel_);
PickleIterator iter(message);
@@ -142,7 +142,9 @@
VLOG(1) << "Server listener up";
}
- ~PerformanceChannelListener() override { VLOG(1) << "Server listener down"; }
+ virtual ~PerformanceChannelListener() {
+ VLOG(1) << "Server listener down";
+ }
void Init(Sender* sender) {
DCHECK(!sender_);
@@ -158,7 +160,7 @@
payload_ = std::string(msg_size_, 'a');
}
- bool OnMessageReceived(const Message& message) override {
+ virtual 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