Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: mojo/apps/js/test/js_to_cpp.mojom

Issue 250713003: Test sending corrupt mojo messages back from javascript. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/apps/js/test/js_to_cpp_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
}
« no previous file with comments | « no previous file | mojo/apps/js/test/js_to_cpp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698