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

Unified Diff: sandbox/mac/mach_message_server.h

Issue 666193002: Standardize usage of virtual/override/final in sandbox/ (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: sandbox/mac/mach_message_server.h
diff --git a/sandbox/mac/mach_message_server.h b/sandbox/mac/mach_message_server.h
index 7c344f9288a6426f68f8006fa061f0e4fec8f8a7..645b6918bcd13aedbb61711177fbcd6d6ec1e26a 100644
--- a/sandbox/mac/mach_message_server.h
+++ b/sandbox/mac/mach_message_server.h
@@ -30,19 +30,18 @@ class MachMessageServer : public MessageServer {
MachMessageServer(MessageDemuxer* demuxer,
mach_port_t server_receive_right,
mach_msg_size_t buffer_size);
- virtual ~MachMessageServer();
+ ~MachMessageServer() override;
// MessageServer:
- virtual bool Initialize() override;
- virtual pid_t GetMessageSenderPID(IPCMessage request) override;
- virtual IPCMessage CreateReply(IPCMessage request) override;
- virtual bool SendReply(IPCMessage reply) override;
- virtual void ForwardMessage(IPCMessage request,
- mach_port_t destination) override;
+ bool Initialize() override;
+ pid_t GetMessageSenderPID(IPCMessage request) override;
+ IPCMessage CreateReply(IPCMessage request) override;
+ bool SendReply(IPCMessage reply) override;
+ void ForwardMessage(IPCMessage request, mach_port_t destination) override;
// Replies to the message with the specified |error_code| as a MIG
// error_reply RetCode.
- virtual void RejectMessage(IPCMessage request, int error_code) override;
- virtual mach_port_t GetServerPort() const override;
+ void RejectMessage(IPCMessage request, int error_code) override;
+ mach_port_t GetServerPort() const override;
private:
// Event handler for the |server_source_| that reads a message from the queue

Powered by Google App Engine
This is Rietveld 408576698