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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..93c334d98b9e35caffa3c3ca61a9cce3cc4a8c8d |
--- /dev/null |
+++ b/mojo/public/bindings/tests/sample_interfaces.mojom |
@@ -0,0 +1,27 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+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] |
+interface ProviderClient { |
+}; |
+ |
+} |