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

Unified Diff: ipc/mojo/ipc_channel_mojo_host.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/mojo/ipc_channel_mojo_host.cc
diff --git a/ipc/mojo/ipc_channel_mojo_host.cc b/ipc/mojo/ipc_channel_mojo_host.cc
index 6f9075ae233c4767c9fec1b5bb53a5732615ec6c..beb18ee5e99ffc53d7159d1b6cb4c68b8cdcd398 100644
--- a/ipc/mojo/ipc_channel_mojo_host.cc
+++ b/ipc/mojo/ipc_channel_mojo_host.cc
@@ -17,12 +17,12 @@ namespace IPC {
class ChannelMojoHost::ChannelDelegate : public ChannelMojo::Delegate {
public:
explicit ChannelDelegate(scoped_refptr<base::TaskRunner> io_task_runner);
- virtual ~ChannelDelegate();
+ ~ChannelDelegate() override;
// ChannelMojo::Delegate
- virtual base::WeakPtr<Delegate> ToWeakPtr() override;
- virtual void OnChannelCreated(base::WeakPtr<ChannelMojo> channel) override;
- virtual scoped_refptr<base::TaskRunner> GetIOTaskRunner() override;
+ base::WeakPtr<Delegate> ToWeakPtr() override;
+ void OnChannelCreated(base::WeakPtr<ChannelMojo> channel) override;
+ scoped_refptr<base::TaskRunner> GetIOTaskRunner() override;
// Returns an weak ptr of ChannelDelegate instead of Delegate
base::WeakPtr<ChannelDelegate> GetWeakPtr();

Powered by Google App Engine
This is Rietveld 408576698