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

Unified Diff: sandbox/mac/xpc_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: Revert one clang-format change 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 | « sandbox/mac/mach_message_server.h ('k') | sandbox/mac/xpc_message_server_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/xpc_message_server.h
diff --git a/sandbox/mac/xpc_message_server.h b/sandbox/mac/xpc_message_server.h
index 44ba8062feee3c1f87b537fb2461da1b6bfae95b..0c5469716b31edbb0a51ede92cec7a67d1d2514d 100644
--- a/sandbox/mac/xpc_message_server.h
+++ b/sandbox/mac/xpc_message_server.h
@@ -25,18 +25,17 @@ class SANDBOX_EXPORT XPCMessageServer : public MessageServer {
// Otherwise the server will create a new receive right on which to listen.
XPCMessageServer(MessageDemuxer* demuxer,
mach_port_t server_receive_right);
- virtual ~XPCMessageServer();
+ ~XPCMessageServer() 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;
// Creates an error reply message with a field "error" set to |error_code|.
- 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:
// Reads a message from the XPC pipe.
« no previous file with comments | « sandbox/mac/mach_message_server.h ('k') | sandbox/mac/xpc_message_server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698