diff options
author | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-23 21:34:01 +0000 |
---|---|---|
committer | mseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-23 21:34:01 +0000 |
commit | 171fa98d0e102b13833e82cab9bb86eb97c5779c (patch) | |
tree | 7917b5017eb0b19588755641e8f548a8cde784b9 /chrome/common/render_messages.h | |
parent | 3b2437b6a1f48ec99f74fd61b837ac1116336c0d (diff) | |
download | chromium_src-171fa98d0e102b13833e82cab9bb86eb97c5779c.zip chromium_src-171fa98d0e102b13833e82cab9bb86eb97c5779c.tar.gz chromium_src-171fa98d0e102b13833e82cab9bb86eb97c5779c.tar.bz2 |
NaCl: Don't pass the NaCl process's Windows handle to the renderer process
The process handle is not used since we switched NaCl to using
Chromium's BrokerDuplicateHandle() function.
I have changed NaCl's SelLdrLauncher to not use the process ID or
process handle in this context, so returning dummy values of 0 and -1
will be OK: they will not get passed to kill(), waitpid() or
TerminateProcess().
BUG=http://code.google.com/p/nativeclient/issues/detail?id=2719
TEST=nacl_integration etc.
Review URL: http://codereview.chromium.org/10134029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 6ac36c2..9095461 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -483,13 +483,11 @@ IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, // 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_CONTROL2_3(ChromeViewHostMsg_LaunchNaCl, +IPC_SYNC_MESSAGE_CONTROL2_1(ChromeViewHostMsg_LaunchNaCl, GURL /* manifest_url */, int /* socket count */, std::vector<nacl::FileDescriptor> - /* imc channel handles */, - base::ProcessHandle /* NaCl process handle */, - base::ProcessId /* NaCl process id */) + /* imc channel handles */) // Notification that the page has an OpenSearch description document // associated with it. |