ipc/ipdl/test/cxx/PTestBridgeMain.ipdl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/ipdl/test/cxx/PTestBridgeMain.ipdl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +include protocol PTestBridgeMainSub;
     1.5 +include protocol PTestBridgeSub;
     1.6 +
     1.7 +namespace mozilla {
     1.8 +namespace _ipdltest {
     1.9 +
    1.10 +
    1.11 +protocol PTestBridgeMain {
    1.12 +    child spawns PTestBridgeSub;
    1.13 +
    1.14 +child:
    1.15 +    Start();
    1.16 +
    1.17 +parent:
    1.18 +    __delete__();
    1.19 +
    1.20 +state START:
    1.21 +    send Start goto DEAD;
    1.22 +state DEAD:
    1.23 +    recv __delete__;
    1.24 +};
    1.25 +
    1.26 +
    1.27 +} // namespace mozilla
    1.28 +} // namespace _ipdltest

mercurial