michael@0: michael@0: #ifndef mozilla__ipdltest_IPDLUnitTestUtils michael@0: #define mozilla__ipdltest_IPDLUnitTestUtils 1 michael@0: michael@0: namespace mozilla { michael@0: namespace _ipdltest { michael@0: michael@0: struct Bad {}; michael@0: michael@0: } // namespace _ipdltest michael@0: } // namespace mozilla michael@0: michael@0: namespace IPC { michael@0: michael@0: template<> michael@0: struct ParamTraits michael@0: { michael@0: typedef mozilla::_ipdltest::Bad paramType; michael@0: michael@0: // Defined in TestActorPunning.cpp. michael@0: static void Write(Message* aMsg, const paramType& aParam); michael@0: static bool Read(const Message* aMsg, void** aIter, paramType* aResult); michael@0: }; michael@0: michael@0: } // namespace IPC michael@0: michael@0: #endif // mozilla__ipdltest_IPDLUnitTestUtils