blob: e454ae7b614c2aa769fed55562afac6878d57e76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef mozilla__ipdltest_IPDLUnitTestUtils
#define mozilla__ipdltest_IPDLUnitTestUtils 1
#include "ipc/IPCMessageUtils.h"
namespace mozilla {
namespace _ipdltest {
struct Bad {};
} // namespace _ipdltest
} // namespace mozilla
namespace IPC {
template <>
struct ParamTraits<mozilla::_ipdltest::Bad> {
typedef mozilla::_ipdltest::Bad paramType;
// Defined in TestActorPunning.cpp.
static void Write(MessageWriter* aWriter, const paramType& aParam);
static bool Read(MessageReader* aReader, paramType* aResult);
};
} // namespace IPC
#endif // mozilla__ipdltest_IPDLUnitTestUtils
|