summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorgregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-08 21:41:28 +0000
committergregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-08 21:41:28 +0000
commit16e70aeca7951680226d7ad461d5c21dadccc728 (patch)
tree5b5fa67e3580d0bb30b49874927b28e96b6fb32b /chrome/common
parent6ee6972c5746bb59309c80d8f96ea0dbbcd44789 (diff)
downloadchromium_src-16e70aeca7951680226d7ad461d5c21dadccc728.zip
chromium_src-16e70aeca7951680226d7ad461d5c21dadccc728.tar.gz
chromium_src-16e70aeca7951680226d7ad461d5c21dadccc728.tar.bz2
Terminate NaCl broker process when no loader processes are running
BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=40744 Review URL: http://codereview.chromium.org/669019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40941 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/nacl_messages_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/nacl_messages_internal.h b/chrome/common/nacl_messages_internal.h
index 11dfba7..9eec408 100644
--- a/chrome/common/nacl_messages_internal.h
+++ b/chrome/common/nacl_messages_internal.h
@@ -25,5 +25,9 @@ IPC_BEGIN_MESSAGES(NaClProcess)
// Notify the browser process that the broker is ready (sent by the broker)
IPC_MESSAGE_CONTROL0(NaClProcessMsg_BrokerReady)
+
+ // Notify the broker that all loader processes have been terminated and it
+ // should shutdown.
+ IPC_MESSAGE_CONTROL0(NaClProcessMsg_StopBroker)
IPC_END_MESSAGES(NaClProcess)