Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes

mozilla::ipc::GeckoChildProcessHost Class Reference

#include <GeckoChildProcessHost.h>

Inheritance diagram for mozilla::ipc::GeckoChildProcessHost:
Collaboration diagram for mozilla::ipc::GeckoChildProcessHost:

List of all members.

Public Types

typedef base::ProcessHandle ProcessHandle

Public Member Functions

 GeckoChildProcessHost (GeckoProcessType aProcessType=GeckoProcessType_Default, base::WaitableEventWatcher::Delegate *aDelegate=0L)
 ~GeckoChildProcessHost ()
bool SyncLaunch (std::vector< std::string > aExtraOpts=std::vector< std::string >(), int32 timeoutMs=0, base::ProcessArchitecture arch=base::GetCurrentProcessArchitecture())
bool AsyncLaunch (std::vector< std::string > aExtraOpts=std::vector< std::string >())
bool PerformAsyncLaunch (std::vector< std::string > aExtraOpts=std::vector< std::string >(), base::ProcessArchitecture arch=base::GetCurrentProcessArchitecture())
virtual void OnChannelConnected (int32 peer_pid)
virtual void OnMessageReceived (const IPC::Message &aMsg)
virtual void OnChannelError ()
void InitializeChannel ()
virtual bool CanShutdown ()
virtual void OnWaitableEventSignaled (base::WaitableEvent *event)
IPC::Channel * GetChannel ()
base::WaitableEvent * GetShutDownEvent ()
ProcessHandle GetChildProcessHandle ()

Static Public Member Functions

static nsresult GetArchitecturesForBinary (const char *path, uint32 *result)
static uint32 GetSupportedArchitecturesForProcessType (GeckoProcessType type)

Protected Types

typedef mozilla::Monitor Monitor

Protected Attributes

GeckoProcessType mProcessType
Monitor mMonitor
bool mLaunched
bool mChannelInitialized
FilePath mProcessPath
base::WaitableEventWatcher::Delegate * mDelegate
ProcessHandle mChildProcessHandle

Member Typedef Documentation


Constructor & Destructor Documentation

mozilla::ipc::GeckoChildProcessHost::GeckoChildProcessHost ( GeckoProcessType  aProcessType = GeckoProcessType_Default,
base::WaitableEventWatcher::Delegate *  aDelegate = 0L 
)
mozilla::ipc::GeckoChildProcessHost::~GeckoChildProcessHost (  ) 

Member Function Documentation

bool mozilla::ipc::GeckoChildProcessHost::AsyncLaunch ( std::vector< std::string >  aExtraOpts = std::vector< std::string >()  ) 
virtual bool mozilla::ipc::GeckoChildProcessHost::CanShutdown (  )  [inline, virtual]
static nsresult mozilla::ipc::GeckoChildProcessHost::GetArchitecturesForBinary ( const char *  path,
uint32 result 
) [static]
IPC::Channel* mozilla::ipc::GeckoChildProcessHost::GetChannel (  )  [inline]
ProcessHandle mozilla::ipc::GeckoChildProcessHost::GetChildProcessHandle (  )  [inline]
base::WaitableEvent* mozilla::ipc::GeckoChildProcessHost::GetShutDownEvent (  )  [inline]
static uint32 mozilla::ipc::GeckoChildProcessHost::GetSupportedArchitecturesForProcessType ( GeckoProcessType  type  )  [static]
void mozilla::ipc::GeckoChildProcessHost::InitializeChannel (  ) 
virtual void mozilla::ipc::GeckoChildProcessHost::OnChannelConnected ( int32  peer_pid  )  [virtual]
virtual void mozilla::ipc::GeckoChildProcessHost::OnChannelError (  )  [virtual]
virtual void mozilla::ipc::GeckoChildProcessHost::OnMessageReceived ( const IPC::Message &  aMsg  )  [virtual]
virtual void mozilla::ipc::GeckoChildProcessHost::OnWaitableEventSignaled ( base::WaitableEvent *  event  )  [virtual]
bool mozilla::ipc::GeckoChildProcessHost::PerformAsyncLaunch ( std::vector< std::string >  aExtraOpts = std::vector< std::string >(),
base::ProcessArchitecture  arch = base::GetCurrentProcessArchitecture() 
)
bool mozilla::ipc::GeckoChildProcessHost::SyncLaunch ( std::vector< std::string >  aExtraOpts = std::vector< std::string >(),
int32  timeoutMs = 0,
base::ProcessArchitecture  arch = base::GetCurrentProcessArchitecture() 
)

Member Data Documentation

base::WaitableEventWatcher::Delegate* mozilla::ipc::GeckoChildProcessHost::mDelegate [protected]

The documentation for this class was generated from the following file: