Index: sandbox/mac/message_server.h |
diff --git a/sandbox/mac/message_server.h b/sandbox/mac/message_server.h |
index 1cd40b0a3dc9e433fda4feacfeda9ba51c1b8a16..6ee119bd5e58cbdec71132420b830b0d43c1342a 100644 |
--- a/sandbox/mac/message_server.h |
+++ b/sandbox/mac/message_server.h |
@@ -44,6 +44,11 @@ class MessageServer { |
// returns false, no other methods may be called on this class. |
virtual bool Initialize() = 0; |
+ // Blocks the calling thread while the server shuts down. This prevents |
+ // the server from receiving new messages. After this method is called, |
+ // no other methods may be called on this class. |
+ virtual void Shutdown() = 0; |
+ |
// Given a received request message, returns the PID of the sending process. |
virtual pid_t GetMessageSenderPID(IPCMessage request) = 0; |