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

Unified Diff: content/common/message_router.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (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 | « content/common/input/synthetic_tap_gesture_params.h ('k') | content/common/mojo/service_registry_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/message_router.h
diff --git a/content/common/message_router.h b/content/common/message_router.h
index ac89929c6848946c34d4c5012061d498523efb7c..a842f8eb899ee60c15d3e59d633a6df96e26527b 100644
--- a/content/common/message_router.h
+++ b/content/common/message_router.h
@@ -32,13 +32,13 @@ namespace content {
class MessageRouter : public IPC::Listener, public IPC::Sender {
public:
MessageRouter();
- virtual ~MessageRouter();
+ ~MessageRouter() override;
// Implemented by subclasses to handle control messages
virtual bool OnControlMessageReceived(const IPC::Message& msg);
// IPC::Listener implementation:
- virtual bool OnMessageReceived(const IPC::Message& msg) override;
+ bool OnMessageReceived(const IPC::Message& msg) override;
// Like OnMessageReceived, except it only handles routed messages. Returns
// true if the message was dispatched, or false if there was no listener for
@@ -46,7 +46,7 @@ class MessageRouter : public IPC::Listener, public IPC::Sender {
virtual bool RouteMessage(const IPC::Message& msg);
// IPC::Sender implementation:
- virtual bool Send(IPC::Message* msg) override;
+ bool Send(IPC::Message* msg) override;
// Called to add a listener for a particular message routing ID.
// Returns true if succeeded.
« no previous file with comments | « content/common/input/synthetic_tap_gesture_params.h ('k') | content/common/mojo/service_registry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698