| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Defines messages between the renderer and the NaCl process. | |
| 6 | |
| 7 // Multiply-included message file, no traditional include guard. | |
| 8 #include "ipc/ipc_message_macros.h" | |
| 9 #include "native_client/src/trusted/service_runtime/nacl_error_code.h" | |
| 10 | |
| 11 #define IPC_MESSAGE_START NaClHostMsgStart | |
| 12 | |
| 13 // This message must be synchronous to ensure that the exit status is sent from | |
| 14 // NaCl to the renderer before the NaCl process exits very soon after. | |
| 15 IPC_SYNC_MESSAGE_CONTROL1_0(NaClRendererMsg_ReportExitStatus, | |
| 16 int /* exit_status */) | |
| 17 | |
| 18 IPC_ENUM_TRAITS_MAX_VALUE(NaClErrorCode, NACL_ERROR_CODE_MAX) | |
| 19 | |
| 20 // This message must be synchronous to ensure that the load status is sent from | |
| 21 // NaCl to the renderer before the NaCl process exits very soon after. | |
| 22 IPC_SYNC_MESSAGE_CONTROL1_0(NaClRendererMsg_ReportLoadStatus, | |
| 23 NaClErrorCode /* load_status */) | |
| OLD | NEW |