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..5f03d69acb600626c5de428b35a0720ef1c73f73 |
--- /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); |
+}; |
+ |
+[Peer=HelloWorldService] |
+interface HelloWorldClient { |
+ void DidReceiveGreeting(int32 result); |
+}; |
+ |
+} |