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

Side by Side Diff: components/nacl/common/nacl_renderer_messages.h

Issue 1090233003: Set up a NaCl load status callback to start replacing "start_module". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use the enum instead of int Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « components/nacl/common/DEPS ('k') | components/nacl/loader/nacl_listener.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines messages between the renderer and the NaCl process. 5 // Defines messages between the renderer and the NaCl process.
6 6
7 // Multiply-included message file, no traditional include guard. 7 // Multiply-included message file, no traditional include guard.
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "native_client/src/trusted/service_runtime/nacl_error_code.h"
9 10
10 #define IPC_MESSAGE_START NaClHostMsgStart 11 #define IPC_MESSAGE_START NaClHostMsgStart
11 12
12 // This message must be synchronous to ensure that the exit status is sent from 13 // This message must be synchronous to ensure that the exit status is sent from
13 // NaCl to the renderer before the NaCl process exits very soon after. 14 // NaCl to the renderer before the NaCl process exits very soon after.
14 IPC_SYNC_MESSAGE_CONTROL1_0(NaClRendererMsg_ReportExitStatus, 15 IPC_SYNC_MESSAGE_CONTROL1_0(NaClRendererMsg_ReportExitStatus,
15 int /* exit_status */) 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 */)
OLDNEW
« no previous file with comments | « components/nacl/common/DEPS ('k') | components/nacl/loader/nacl_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698