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

Unified Diff: mojo/public/tests/math_calculator.mojom

Issue 66353002: Mojo: RemotePtr<S> + bindings changes for Peer attribute. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + fix error in sample_service.h Created 7 years, 1 month 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/tests/bindings_remote_ptr_unittest.cc ('k') | mojo/public/tests/mojom/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+};
+
+}
« no previous file with comments | « mojo/public/tests/bindings_remote_ptr_unittest.cc ('k') | mojo/public/tests/mojom/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698