Index: mojo/public/interfaces/bindings/tests/test_sync_methods.mojom |
diff --git a/mojo/public/interfaces/bindings/tests/test_sync_methods.mojom b/mojo/public/interfaces/bindings/tests/test_sync_methods.mojom |
index 2df8a1c93c378f355e09cd19a82c882db456ce8d..1a55a0f32688af0fe5fc3f55c320a4d3090f9a30 100644 |
--- a/mojo/public/interfaces/bindings/tests/test_sync_methods.mojom |
+++ b/mojo/public/interfaces/bindings/tests/test_sync_methods.mojom |
@@ -4,16 +4,26 @@ |
module mojo.test; |
-interface TestSync { |
+interface TestCodeGeneration { |
+ [Sync] |
+ NoInput() => (int32 result); |
+ |
+ [Sync] |
+ NoOutput(int32 value) => (); |
+ |
[Sync] |
- Get() => (int32 result); |
+ NoInOut() => (); |
[Sync] |
- Set(int32 value) => (); |
+ HaveInOut(int32 value1, int32 value2) => (int32 result1, int32 result2); |
+}; |
+interface TestSync { |
[Sync] |
Ping() => (); |
[Sync] |
Echo(int32 value) => (int32 result); |
+ |
+ AsyncEcho(int32 value) => (int32 result); |
}; |