summaryrefslogtreecommitdiffstats
path: root/chrome/browser/nacl_process_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/nacl_process_host.h')
-rw-r--r--chrome/browser/nacl_process_host.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/browser/nacl_process_host.h b/chrome/browser/nacl_process_host.h
index 8159836..ca416f6 100644
--- a/chrome/browser/nacl_process_host.h
+++ b/chrome/browser/nacl_process_host.h
@@ -33,6 +33,11 @@ class NaClProcessHost : public ChildProcessHost {
virtual void OnMessageReceived(const IPC::Message& msg);
+ void OnProcessLaunchedByBroker(base::ProcessHandle handle);
+
+ protected:
+ virtual bool DidChildCrash();
+
private:
bool LaunchSelLdr();
@@ -47,6 +52,11 @@ class NaClProcessHost : public ChildProcessHost {
virtual bool CanShutdown() { return true; }
+#if defined(OS_WIN)
+ // Check whether the browser process is running on WOW64 - Windows only
+ void CheckIsWow64();
+#endif
+
private:
ResourceDispatcherHost* resource_dispatcher_host_;
@@ -63,6 +73,9 @@ class NaClProcessHost : public ChildProcessHost {
// The NaCl specific descriptor for this process.
int descriptor_;
+ // Windows platform flag
+ bool running_on_wow64_;
+
DISALLOW_COPY_AND_ASSIGN(NaClProcessHost);
};