Index: mojo/apps/js/test/js_to_cpp.mojom |
diff --git a/mojo/apps/js/test/js_to_cpp.mojom b/mojo/apps/js/test/js_to_cpp.mojom |
index 0c96335796da2ad26230c80d711ca57f10ca5227..843e905c798a6246c182c8c1228edafa7fefa8db 100644 |
--- a/mojo/apps/js/test/js_to_cpp.mojom |
+++ b/mojo/apps/js/test/js_to_cpp.mojom |
@@ -23,15 +23,18 @@ struct EchoArgs { |
[Peer=JsSide] |
interface CppSide { |
- StartTest(); // Sent to notify that the JS side is now ready. |
+ StartTest(); // Sent for all tests to notify that the JS side is now ready. |
+ TestFinished(); // Sent in echo / bit-flip tests to indicate end. |
PingResponse(); |
EchoResponse(EchoArgs arg1, EchoArgs arg2); |
+ BitFlipResponse(EchoArgs arg); |
}; |
[Peer=CppSide] |
interface JsSide { |
Ping(); |
- Echo(EchoArgs arg); |
+ Echo(int32 numIterations, EchoArgs arg); |
+ BitFlip(EchoArgs arg); |
}; |
} |