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

Unified Diff: content/child/child_thread.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/child/child_shared_bitmap_manager.h ('k') | content/child/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread.h
diff --git a/content/child/child_thread.h b/content/child/child_thread.h
index f48c688985045b4d813a2b4fc25a483d4fd0920e..c718000cfe57ffd1ac37c9bc82999ea00958d348 100644
--- a/content/child/child_thread.h
+++ b/content/child/child_thread.h
@@ -73,11 +73,11 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
// must be terminated before Shutdown returns. In particular, if a subsystem
// has a thread that post tasks to ChildProcess::main_thread(), that thread
// should be joined in Shutdown().
- virtual ~ChildThread();
+ ~ChildThread() override;
virtual void Shutdown();
// IPC::Sender implementation:
- virtual bool Send(IPC::Message* msg) override;
+ bool Send(IPC::Message* msg) override;
IPC::SyncChannel* channel() { return channel_.get(); }
@@ -173,16 +173,16 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
}
// IPC::Listener implementation:
- virtual bool OnMessageReceived(const IPC::Message& msg) override;
- virtual void OnChannelConnected(int32 peer_pid) override;
- virtual void OnChannelError() override;
+ bool OnMessageReceived(const IPC::Message& msg) override;
+ void OnChannelConnected(int32 peer_pid) override;
+ void OnChannelError() override;
private:
class ChildThreadMessageRouter : public MessageRouter {
public:
// |sender| must outlive this object.
explicit ChildThreadMessageRouter(IPC::Sender* sender);
- virtual bool Send(IPC::Message* msg) override;
+ bool Send(IPC::Message* msg) override;
private:
IPC::Sender* const sender_;
« no previous file with comments | « content/child/child_shared_bitmap_manager.h ('k') | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698