Index: mojo/public/tests/math_calculator.mojom |
diff --git a/mojo/public/tests/math_calculator.mojom b/mojo/public/tests/math_calculator.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..949a9023e07ca8787fb930eba18eb630bc4f04d0 |
--- /dev/null |
+++ b/mojo/public/tests/math_calculator.mojom |
@@ -0,0 +1,19 @@ |
+// Copyright 2013 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 math { |
+ |
+[Peer=CalculatorUI] |
+interface Calculator { |
+ void Clear() @0; |
+ void Add(double value @0) @1; |
+ void Multiply(double value @0) @2; |
+}; |
+ |
+[Peer=Calculator] |
+interface CalculatorUI { |
+ void Output(double value @0) @0; |
+}; |
+ |
+} |