summaryrefslogtreecommitdiffstats
path: root/chrome/browser/nacl_process_host.h
diff options
context:
space:
mode:
authorgregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 21:46:15 +0000
committergregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 21:46:15 +0000
commitf08e47dbfce4823386bef263924be4836d7d8f86 (patch)
tree69bff1a47f156c22e1d06f2631e42880b2542749 /chrome/browser/nacl_process_host.h
parent8ba379904681b2fbbbfc8747b9ef08bb861fdd63 (diff)
downloadchromium_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/browser/nacl_process_host.h')
-rw-r--r--chrome/browser/nacl_process_host.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/nacl_process_host.h b/chrome/browser/nacl_process_host.h
index 59de526..6d549cf 100644
--- a/chrome/browser/nacl_process_host.h
+++ b/chrome/browser/nacl_process_host.h
@@ -20,13 +20,16 @@ class ResourceMessageFilter;
// running in the renderer and NaCl processes.
class NaClProcessHost : public ChildProcessHost {
public:
- explicit NaClProcessHost(ResourceDispatcherHost *resource_dispatcher_host);
+ NaClProcessHost(ResourceDispatcherHost *resource_dispatcher_host,
+ const std::wstring& url);
~NaClProcessHost() {}
// Initialize the new NaCl process, returning true on success.
bool Launch(ResourceMessageFilter* renderer_msg_filter,
const int descriptor,
- nacl::FileDescriptor *handle);
+ nacl::FileDescriptor* handle,
+ nacl::FileDescriptor* nacl_process_handle,
+ int* nacl_process_id);
virtual void OnMessageReceived(const IPC::Message& msg);