diff options
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestUniquePtrIPC.ipdl')
-rw-r--r-- | ipc/ipdl/test/cxx/PTestUniquePtrIPC.ipdl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestUniquePtrIPC.ipdl b/ipc/ipdl/test/cxx/PTestUniquePtrIPC.ipdl new file mode 100644 index 0000000000..b436dcbbb3 --- /dev/null +++ b/ipc/ipdl/test/cxx/PTestUniquePtrIPC.ipdl @@ -0,0 +1,26 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* vim: set ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +include "mozilla/_ipdltest/TestUniquePtrIPC.h"; + +namespace mozilla { +namespace _ipdltest { + +struct DummyStruct { + int x; +}; + +[ManualDealloc, ChildImpl="TestUniquePtrIPCChild", ParentImpl="TestUniquePtrIPCParent"] +protocol PTestUniquePtrIPC +{ +child: + async TestMessage(UniquePtr<int> a1, UniquePtr<DummyStruct> a2, + DummyStruct a3, UniquePtr<int> a4); + async TestSendReference(UniquePtr<DummyStruct> a); +}; + +} +} |