| 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 509f2f701abbb8dc140148d0bb7117942ceaaf82..0f16f7fce978d17de8167b6223e610e4bbaf3746 100644
|
| --- a/mojo/apps/js/test/js_to_cpp.mojom
|
| +++ b/mojo/apps/js/test/js_to_cpp.mojom
|
| @@ -23,18 +23,23 @@ struct EchoArgs {
|
| handle<data_pipe_consumer> data_handle;
|
| };
|
|
|
| +struct EchoArgsList {
|
| + EchoArgsList next;
|
| + EchoArgs item;
|
| +};
|
| +
|
| interface CppSide {
|
| 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);
|
| + EchoResponse(EchoArgsList list);
|
| BitFlipResponse(EchoArgs arg);
|
| };
|
|
|
| [Client=CppSide]
|
| interface JsSide {
|
| Ping();
|
| - Echo(int32 numIterations, EchoArgs arg);
|
| + Echo(int32 numIterations, EchoArgsList list);
|
| BitFlip(EchoArgs arg);
|
| };
|
|
|
|
|