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

Side by Side Diff: chrome/common/nacl_messages_internal.h

Issue 3106018: Reapplies all the IPC system work (reverts the revert r56272). (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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 | « chrome/common/nacl_messages.cc ('k') | chrome/common/plugin_messages.cc » ('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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "base/process.h"
5 #include "chrome/common/nacl_types.h" 6 #include "chrome/common/nacl_types.h"
6 #include "ipc/ipc_message_macros.h" 7 #include "ipc/ipc_message_macros.h"
7 8
8 //----------------------------------------------------------------------------- 9 //-----------------------------------------------------------------------------
9 // NaClProcess messages 10 // NaClProcess messages
10 // These are messages sent from the browser to the NaCl process. 11 // These are messages sent from the browser to the NaCl process.
11 IPC_BEGIN_MESSAGES(NaClProcess) 12 IPC_BEGIN_MESSAGES(NaClProcess)
12 // Tells the NaCl process to start. 13 // Tells the NaCl process to start.
13 IPC_MESSAGE_CONTROL1(NaClProcessMsg_Start, 14 IPC_MESSAGE_CONTROL1(NaClProcessMsg_Start,
14 std::vector<nacl::FileDescriptor> /* sockets */) 15 std::vector<nacl::FileDescriptor> /* sockets */)
15 16
16 // Tells the NaCl broker to launch a NaCl loader process. 17 // Tells the NaCl broker to launch a NaCl loader process.
17 IPC_MESSAGE_CONTROL1(NaClProcessMsg_LaunchLoaderThroughBroker, 18 IPC_MESSAGE_CONTROL1(NaClProcessMsg_LaunchLoaderThroughBroker,
18 std::wstring /* channel ID for the loader */) 19 std::wstring /* channel ID for the loader */)
19 20
20 // Notify the browser process that the loader was launched successfully. 21 // Notify the browser process that the loader was launched successfully.
21 IPC_MESSAGE_CONTROL2(NaClProcessMsg_LoaderLaunched, 22 IPC_MESSAGE_CONTROL2(NaClProcessMsg_LoaderLaunched,
22 std::wstring, /* channel ID for the loader */ 23 std::wstring, /* channel ID for the loader */
23 base::ProcessHandle /* loader process handle */) 24 base::ProcessHandle /* loader process handle */)
24 25
25 // Notify the broker that all loader processes have been terminated and it 26 // Notify the broker that all loader processes have been terminated and it
26 // should shutdown. 27 // should shutdown.
27 IPC_MESSAGE_CONTROL0(NaClProcessMsg_StopBroker) 28 IPC_MESSAGE_CONTROL0(NaClProcessMsg_StopBroker)
28 IPC_END_MESSAGES(NaClProcess) 29 IPC_END_MESSAGES(NaClProcess)
29 30
OLDNEW
« no previous file with comments | « chrome/common/nacl_messages.cc ('k') | chrome/common/plugin_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698