Index: mojo/public/interfaces/bindings/tests/validation_test_associated_interfaces.mojom |
diff --git a/mojo/public/interfaces/bindings/tests/validation_test_associated_interfaces.mojom b/mojo/public/interfaces/bindings/tests/validation_test_associated_interfaces.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3eb3c39110978c3a590b2a5035002607259bf986 |
--- /dev/null |
+++ b/mojo/public/interfaces/bindings/tests/validation_test_associated_interfaces.mojom |
@@ -0,0 +1,17 @@ |
+// Copyright 2015 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.test; |
+ |
+// Associated interfaces are not supported by all language bindings yet. |
+// Eventually these definitions should live in validation_test_interfaces.mojom. |
+ |
+interface InterfaceX {}; |
+ |
+interface AssociatedConformanceTestInterface { |
+ Method0(associated InterfaceX param0); |
+ Method1(associated InterfaceX& param0); |
+ Method2(associated InterfaceX? param0); |
+}; |
+ |