From f08e47dbfce4823386bef263924be4836d7d8f86 Mon Sep 17 00:00:00 2001 From: "gregoryd@google.com" Date: Thu, 15 Oct 2009 21:46:15 +0000 Subject: 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 --- chrome/browser/nacl_process_host.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'chrome/browser/nacl_process_host.h') 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); -- cgit v1.1