ipc/ipdl/test/cxx/PTestSanity.ipdl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/ipdl/test/cxx/PTestSanity.ipdl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +
     1.5 +namespace mozilla {
     1.6 +namespace _ipdltest {
     1.7 +
     1.8 +
     1.9 +protocol PTestSanity {
    1.10 +
    1.11 +child:
    1.12 +    Ping(int zero, float zeroPtFive, int8_t dummy);
    1.13 +    __delete__();
    1.14 +
    1.15 +parent:
    1.16 +    Pong(int one, float zeroPtTwoFive, uint8_t dummy);
    1.17 +
    1.18 +
    1.19 +state PING:
    1.20 +    send Ping goto PONG;
    1.21 +
    1.22 +state PONG:
    1.23 +    recv Pong goto DEAD;
    1.24 +
    1.25 +state DEAD:
    1.26 +    send __delete__;
    1.27 +};
    1.28 +
    1.29 +
    1.30 +} // namespace mozilla
    1.31 +} // namespace _ipdltest

mercurial