diff options
Diffstat (limited to 'chrome/browser/nacl_host/nacl_process_host.h')
-rw-r--r-- | chrome/browser/nacl_host/nacl_process_host.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/chrome/browser/nacl_host/nacl_process_host.h b/chrome/browser/nacl_host/nacl_process_host.h index 59f4f50..ce73491 100644 --- a/chrome/browser/nacl_host/nacl_process_host.h +++ b/chrome/browser/nacl_host/nacl_process_host.h @@ -28,6 +28,9 @@ class NaClProcessHost : public BrowserChildProcessHost { explicit NaClProcessHost(const std::wstring& url); virtual ~NaClProcessHost(); + // Do any minimal work that must be done at browser startup. + static void EarlyStartup(); + // Initialize the new NaCl process, returning true on success. bool Launch(ChromeRenderMessageFilter* chrome_render_message_filter, int socket_count, @@ -50,15 +53,10 @@ class NaClProcessHost : public BrowserChildProcessHost { bool LaunchSelLdr(); - // Get the architecture-specific filename of NaCl's integrated - // runtime (IRT) library, relative to the plugins directory. - FilePath::StringType GetIrtLibraryFilename(); - virtual void OnProcessLaunched(); - void OpenIrtFileDone(base::PlatformFileError error_code, - base::PassPlatformFile file, - bool created); + void IrtReady(); + void SendStart(base::PlatformFile irt_file); virtual bool CanShutdown(); @@ -73,9 +71,6 @@ class NaClProcessHost : public BrowserChildProcessHost { // Socket pairs for the NaCl process and renderer. scoped_ptr<NaClInternal> internal_; - // Windows platform flag - bool running_on_wow64_; - base::WeakPtrFactory<NaClProcessHost> weak_factory_; DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); |