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 e2147bccd740bfa12289d188f84282a2e5454bb0..3b8cfe63882931685c8365e0ff1140bfb8ad9df1 100644 |
--- a/mojo/public/interfaces/bindings/tests/test_sync_methods.mojom |
+++ b/mojo/public/interfaces/bindings/tests/test_sync_methods.mojom |
@@ -27,3 +27,18 @@ interface TestSync { |
AsyncEcho(int32 value) => (int32 result); |
}; |
+ |
+// Test sync method support with associated interfaces. |
+interface TestSyncMaster { |
+ [Sync] |
+ Ping() => (); |
+ |
+ [Sync] |
+ Echo(int32 value) => (int32 result); |
+ |
+ AsyncEcho(int32 value) => (int32 result); |
+ |
+ SendInterface(associated TestSync ptr); |
+ |
+ SendRequest(associated TestSync& request); |
+}; |