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

Unified Diff: ipc/mojo/ipc_mojo_bootstrap.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_mojo_bootstrap.cc
diff --git a/ipc/mojo/ipc_mojo_bootstrap.cc b/ipc/mojo/ipc_mojo_bootstrap.cc
index 7233de0fa2d0259b5389f5e1306397b81f9683fa..745826586e16637ad111fc3e4ecb9b2ca898fd49 100644
--- a/ipc/mojo/ipc_mojo_bootstrap.cc
+++ b/ipc/mojo/ipc_mojo_bootstrap.cc
@@ -20,15 +20,15 @@ class MojoServerBootstrap : public MojoBootstrap {
public:
MojoServerBootstrap();
- virtual void OnClientLaunched(base::ProcessHandle process) override;
+ void OnClientLaunched(base::ProcessHandle process) override;
private:
void SendClientPipe();
void SendClientPipeIfReady();
// Listener implementations
- virtual bool OnMessageReceived(const Message& message) override;
- virtual void OnChannelConnected(int32 peer_pid) override;
+ bool OnMessageReceived(const Message& message) override;
+ void OnChannelConnected(int32 peer_pid) override;
mojo::embedder::ScopedPlatformHandle server_pipe_;
base::ProcessHandle client_process_;
@@ -112,12 +112,12 @@ class MojoClientBootstrap : public MojoBootstrap {
public:
MojoClientBootstrap();
- virtual void OnClientLaunched(base::ProcessHandle process) override;
+ void OnClientLaunched(base::ProcessHandle process) override;
private:
// Listener implementations
- virtual bool OnMessageReceived(const Message& message) override;
- virtual void OnChannelConnected(int32 peer_pid) override;
+ bool OnMessageReceived(const Message& message) override;
+ void OnChannelConnected(int32 peer_pid) override;
DISALLOW_COPY_AND_ASSIGN(MojoClientBootstrap);
};

Powered by Google App Engine
This is Rietveld 408576698