|
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_IPDLUnitTestTestSubprocess_h |
|
7 #define mozilla__ipdltest_IPDLUnitTestTestSubprocess_h 1 |
|
8 |
|
9 |
|
10 #include "mozilla/ipc/GeckoChildProcessHost.h" |
|
11 |
|
12 namespace mozilla { |
|
13 namespace _ipdltest { |
|
14 //----------------------------------------------------------------------------- |
|
15 |
|
16 class IPDLUnitTestSubprocess : public mozilla::ipc::GeckoChildProcessHost |
|
17 { |
|
18 public: |
|
19 IPDLUnitTestSubprocess(); |
|
20 ~IPDLUnitTestSubprocess(); |
|
21 |
|
22 /** |
|
23 * Asynchronously launch the plugin process. |
|
24 */ |
|
25 // Could override parent Launch, but don't need to here |
|
26 //bool Launch(); |
|
27 |
|
28 private: |
|
29 DISALLOW_EVIL_CONSTRUCTORS(IPDLUnitTestSubprocess); |
|
30 }; |
|
31 |
|
32 |
|
33 } // namespace _ipdltest |
|
34 } // namespace mozilla |
|
35 |
|
36 |
|
37 #endif // ifndef mozilla__ipdltest_IPDLUnitTestTestSubprocess_h |