using std::string from "string"; // std::string is an arbitrary simple type declared inside a namespace, // to test that that will work when used in a UniquePtr inside a union. namespace mozilla { namespace _ipdltest { struct DummyStruct { string x; }; union DummyUnion { UniquePtr; int; }; [ChildProc=any, ChildImpl=virtual, ParentImpl=virtual] protocol PTestUniquePtrIPC { child: async TestMessage(UniquePtr a1, UniquePtr a2, DummyStruct a3, UniquePtr a4, DummyUnion a5); async TestSendReference(UniquePtr a); }; } // namespace _ipdltest } // namespace mozilla