ipc/ipdl/test/cxx/IPDLUnitTestUtils.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     2 #ifndef mozilla__ipdltest_IPDLUnitTestUtils
     3 #define mozilla__ipdltest_IPDLUnitTestUtils 1
     5 namespace mozilla {
     6 namespace _ipdltest {
     8 struct Bad {};
    10 } // namespace _ipdltest
    11 } // namespace mozilla
    13 namespace IPC {
    15 template<>
    16 struct ParamTraits<mozilla::_ipdltest::Bad>
    17 {
    18   typedef mozilla::_ipdltest::Bad paramType;
    20   // Defined in TestActorPunning.cpp.
    21   static void Write(Message* aMsg, const paramType& aParam);
    22   static bool Read(const Message* aMsg, void** aIter, paramType* aResult);
    23 };
    25 } // namespace IPC
    27 #endif // mozilla__ipdltest_IPDLUnitTestUtils

mercurial