2009-12-03 00:16:28 -08:00
|
|
|
include protocol "PTestShutdown.ipdl";
|
|
|
|
include protocol "PTestShutdownSubsub.ipdl";
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace _ipdltest {
|
|
|
|
|
2010-01-15 13:15:51 -08:00
|
|
|
rpc protocol PTestShutdownSub {
|
2009-12-03 00:16:28 -08:00
|
|
|
manager PTestShutdown;
|
|
|
|
manages PTestShutdownSubsub;
|
|
|
|
|
2010-01-15 13:15:51 -08:00
|
|
|
both:
|
|
|
|
rpc StackFrame();
|
|
|
|
|
2009-12-03 00:16:28 -08:00
|
|
|
parent:
|
|
|
|
PTestShutdownSubsub(bool expectParentDeleted);
|
2010-01-14 21:25:56 -08:00
|
|
|
sync __delete__();
|
2009-12-03 00:16:28 -08:00
|
|
|
|
|
|
|
state CREATING:
|
|
|
|
recv PTestShutdownSubsub goto CREATING;
|
2010-01-15 13:15:51 -08:00
|
|
|
answer StackFrame goto DUMMYFRAME;
|
|
|
|
|
|
|
|
state DUMMYFRAME:
|
|
|
|
call StackFrame goto DEAD;
|
|
|
|
|
|
|
|
state DEAD:
|
2009-12-03 00:16:28 -08:00
|
|
|
recv __delete__;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace _ipdltest
|
|
|
|
} // namespace mozilla
|