#include <GeckoChildProcessHost.h>
Inheritance diagram for mozilla::ipc::GeckoChildProcessHost:
Collaboration diagram for mozilla::ipc::GeckoChildProcessHost: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 |
typedef mozilla::Monitor mozilla::ipc::GeckoChildProcessHost::Monitor [protected] |
| typedef base::ProcessHandle mozilla::ipc::GeckoChildProcessHost::ProcessHandle |
| mozilla::ipc::GeckoChildProcessHost::GeckoChildProcessHost | ( | GeckoProcessType | aProcessType = GeckoProcessType_Default, |
|
| base::WaitableEventWatcher::Delegate * | aDelegate = 0L | |||
| ) |
| mozilla::ipc::GeckoChildProcessHost::~GeckoChildProcessHost | ( | ) |
| bool mozilla::ipc::GeckoChildProcessHost::AsyncLaunch | ( | std::vector< std::string > | aExtraOpts = std::vector< std::string >() |
) |
| virtual bool mozilla::ipc::GeckoChildProcessHost::CanShutdown | ( | ) | [inline, virtual] |
Reimplemented in mozilla::plugins::PluginProcessParent.
| 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() | |||
| ) |
base::WaitableEventWatcher::Delegate* mozilla::ipc::GeckoChildProcessHost::mDelegate [protected] |
bool mozilla::ipc::GeckoChildProcessHost::mLaunched [protected] |
Monitor mozilla::ipc::GeckoChildProcessHost::mMonitor [protected] |
FilePath mozilla::ipc::GeckoChildProcessHost::mProcessPath [protected] |
1.7.1