Bug 1508381 - remove now-unnecessary TASKCLUSTER_* variables r=tomprince
[gecko.git] / ipc / testshell / TestShellChild.h
bloba2b89c29437d1cfb16c41676a49542cf34757877
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef ipc_testshell_TestShellChild_h
6 #define ipc_testshell_TestShellChild_h 1
8 #include "mozilla/ipc/PTestShellChild.h"
9 #include "mozilla/ipc/PTestShellCommandChild.h"
10 #include "mozilla/ipc/XPCShellEnvironment.h"
12 #include "nsAutoPtr.h"
14 namespace mozilla {
16 namespace ipc {
18 class XPCShellEnvironment;
20 class TestShellChild : public PTestShellChild {
21 public:
22 TestShellChild();
24 mozilla::ipc::IPCResult RecvExecuteCommand(const nsString& aCommand);
26 PTestShellCommandChild* AllocPTestShellCommandChild(const nsString& aCommand);
28 mozilla::ipc::IPCResult RecvPTestShellCommandConstructor(
29 PTestShellCommandChild* aActor, const nsString& aCommand) override;
31 bool DeallocPTestShellCommandChild(PTestShellCommandChild* aCommand);
33 private:
34 nsAutoPtr<XPCShellEnvironment> mXPCShell;
37 } /* namespace ipc */
38 } /* namespace mozilla */
40 #endif /* ipc_testshell_TestShellChild_h */