summaryrefslogtreecommitdiffstats
path: root/components/nacl/common/nacl_renderer_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/nacl/common/nacl_renderer_messages.h')
-rw-r--r--components/nacl/common/nacl_renderer_messages.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/nacl/common/nacl_renderer_messages.h b/components/nacl/common/nacl_renderer_messages.h
new file mode 100644
index 0000000..e07a082
--- /dev/null
+++ b/components/nacl/common/nacl_renderer_messages.h
@@ -0,0 +1,15 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Defines messages between the renderer and the NaCl process.
+
+// Multiply-included message file, no traditional include guard.
+#include "ipc/ipc_message_macros.h"
+
+#define IPC_MESSAGE_START NaClHostMsgStart
+
+// This message must be synchronous to ensure that the exit status is sent from
+// NaCl to the renderer before the NaCl process exits very soon after.
+IPC_SYNC_MESSAGE_CONTROL1_0(NaClRendererMsg_ReportExitStatus,
+ int /* exit_status */)