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

Unified Diff: mojo/public/bindings/tests/sample_interfaces.mojom

Issue 215883004: Revert of Mojo: add javascript bindings for request/response (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « mojo/public/bindings/pylib/generate/mojom_generator.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/tests/sample_interfaces.mojom
diff --git a/mojo/public/bindings/tests/sample_interfaces.mojom b/mojo/public/bindings/tests/sample_interfaces.mojom
index 50e2c60df7dc168c1830caa571f5a497499ec60f..93c334d98b9e35caffa3c3ca61a9cce3cc4a8c8d 100644
--- a/mojo/public/bindings/tests/sample_interfaces.mojom
+++ b/mojo/public/bindings/tests/sample_interfaces.mojom
@@ -4,11 +4,20 @@
module sample {
+struct Coord {
+ int32 x;
+ int32 y;
+};
+
[Peer=ProviderClient]
interface Provider {
EchoString(string a) => (string a);
EchoStrings(string a, string b) => (string a, string b);
EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a);
+ //EchoVoid() => ();
+ //MakeCoord(int32 x, int32 y) => (Coord coord);
+ //Make2Coords(int32 x1, int32 y1, int32 x2, int32 y2) =>
+ // (Coord coord1, Coord coord2);
};
[Peer=Provider]
« no previous file with comments | « mojo/public/bindings/pylib/generate/mojom_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698