|
1 /* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 #ifndef mozilla__ipdltest_IPDLUnitTestThreadChild_h |
|
7 #define mozilla__ipdltest_IPDLUnitTestThreadChild_h 1 |
|
8 |
|
9 #include "mozilla/ipc/ProcessChild.h" |
|
10 |
|
11 namespace mozilla { |
|
12 namespace _ipdltest { |
|
13 |
|
14 class IPDLUnitTestProcessChild : public mozilla::ipc::ProcessChild |
|
15 { |
|
16 typedef mozilla::ipc::ProcessChild ProcessChild; |
|
17 |
|
18 public: |
|
19 IPDLUnitTestProcessChild(ProcessHandle aParentHandle) : |
|
20 ProcessChild(aParentHandle) |
|
21 { } |
|
22 |
|
23 ~IPDLUnitTestProcessChild() |
|
24 { } |
|
25 |
|
26 virtual bool Init(); |
|
27 }; |
|
28 |
|
29 } // namespace _ipdltest |
|
30 } // namespace mozilla |
|
31 |
|
32 #endif // ifndef mozilla__ipdltest_IPDLUnitTestThreadChild_h |