diff options
author | gregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 21:46:15 +0000 |
---|---|---|
committer | gregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 21:46:15 +0000 |
commit | f08e47dbfce4823386bef263924be4836d7d8f86 (patch) | |
tree | 69bff1a47f156c22e1d06f2631e42880b2542749 /chrome/common/render_messages_internal.h | |
parent | 8ba379904681b2fbbbfc8747b9ef08bb861fdd63 (diff) | |
download | chromium_src-f08e47dbfce4823386bef263924be4836d7d8f86.zip chromium_src-f08e47dbfce4823386bef263924be4836d7d8f86.tar.gz chromium_src-f08e47dbfce4823386bef263924be4836d7d8f86.tar.bz2 |
Get the nexe name from NaCl and send the NaCl process handle and pid to the renderer
TEST=none
BUG=http://code.google.com/p/nativeclient/issues/detail?id=108
Review URL: http://codereview.chromium.org/273056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29195 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r-- | chrome/common/render_messages_internal.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 824a773..fd2ab49 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -1173,10 +1173,12 @@ IPC_BEGIN_MESSAGES(ViewHost) // A renderer sends this to the browser process when it wants to start // a new instance of the Native Client process. The browser will launch // the process and return a handle to an IMC channel. - IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_LaunchNaCl, + IPC_SYNC_MESSAGE_CONTROL2_3(ViewHostMsg_LaunchNaCl, + std::wstring /* url for the NaCl module */, int /* channel number */, - nacl::FileDescriptor /* handle - one side - of a socket pair */) + nacl::FileDescriptor /* imc channel handle */, + nacl::FileDescriptor /* NaCl process handle */, + int /* NaCl process id */) #if defined(OS_LINUX) // A renderer sends this when it needs a browser-side widget for |