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

Unified Diff: sandbox/mac/xpc_message_server_unittest.cc

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
« no previous file with comments | « sandbox/mac/xpc_message_server.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/xpc_message_server_unittest.cc
diff --git a/sandbox/mac/xpc_message_server_unittest.cc b/sandbox/mac/xpc_message_server_unittest.cc
index af8280e4a21b493a798a390bdca358bcae693e09..d0409de18a09841d97d33225da35c01d9ee850bd 100644
--- a/sandbox/mac/xpc_message_server_unittest.cc
+++ b/sandbox/mac/xpc_message_server_unittest.cc
@@ -43,7 +43,7 @@ class BlockDemuxer : public MessageDemuxer {
pipe_(NULL) {
}
- virtual ~BlockDemuxer() {
+ ~BlockDemuxer() override {
if (pipe_)
xpc_release(pipe_);
if (demux_block_)
@@ -68,9 +68,7 @@ class BlockDemuxer : public MessageDemuxer {
return true;
}
- virtual void DemuxMessage(IPCMessage request) override {
- demux_block_(request);
Robert Sesek 2014/10/21 20:52:40 nit: please leave on separate line
dcheng 2014/10/21 20:53:57 How strongly do you feel about this? This is how c
Robert Sesek 2014/10/21 20:58:36 This is less readable. I feel strongly about not c
dcheng 2014/10/21 21:01:11 I'll revert this particular line. However, note it
Robert Sesek 2014/10/21 21:09:05 Thanks. I appreciate that, but trading off readabi
- }
+ void DemuxMessage(IPCMessage request) override { demux_block_(request); }
xpc_pipe_t pipe() { return pipe_; }
« no previous file with comments | « sandbox/mac/xpc_message_server.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698