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

Unified Diff: mojo/examples/hello_world_service/hello_world_service.mojom

Issue 72123002: Work in progress for end-to-end bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: mojo/examples/hello_world_service/hello_world_service.mojom
diff --git a/mojo/examples/hello_world_service/hello_world_service.mojom b/mojo/examples/hello_world_service/hello_world_service.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..d0009632997645a4ced2c26ecd0ee336b81276cf
--- /dev/null
+++ b/mojo/examples/hello_world_service/hello_world_service.mojom
@@ -0,0 +1,17 @@
+// 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 mojo {
+
+[Peer=HelloWorldClient]
+interface HelloWorldService {
+ void Greeting(string greeting @0) @0;
darin (slow to review) 2013/11/13 22:57:49 note: ordinals are optional.
+};
+
+[Peer=HelloWorldService]
+interface HelloWorldClient {
+ void DidReceiveGreeting(int32 result @0) @0;
+};
+
+}
« no previous file with comments | « no previous file | mojo/examples/hello_world_service/hello_world_service_impl.h » ('j') | mojo/examples/sample_app/sample_app.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698