Index: mojo/public/interfaces/bindings/tests/struct_with_traits.mojom |
diff --git a/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom b/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom |
index d395a73b015445df8ba17ecd19a66a476d2ffb2b..955fb08b7c34f5ed8305d16878cbd16a982f1402 100644 |
--- a/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom |
+++ b/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom |
@@ -49,7 +49,7 @@ struct MoveOnlyStructWithTraitsContainer { |
MoveOnlyStructWithTraits f_struct; |
}; |
-struct StructWithTraitsForUniquePtrTest { |
+struct StructWithTraitsForUniquePtr { |
int32 f_int32; |
}; |
@@ -62,8 +62,14 @@ interface TraitsTestService { |
EchoMoveOnlyStructWithTraits(MoveOnlyStructWithTraits s) => |
(MoveOnlyStructWithTraits passed); |
+ EchoNullableMoveOnlyStructWithTraits(MoveOnlyStructWithTraits? s) => |
+ (MoveOnlyStructWithTraits? passed); |
+ |
EchoEnumWithTraits(EnumWithTraits e) => (EnumWithTraits passed); |
- EchoStructWithTraitsForUniquePtrTest(StructWithTraitsForUniquePtrTest e) => ( |
- StructWithTraitsForUniquePtrTest passed); |
+ EchoStructWithTraitsForUniquePtr(StructWithTraitsForUniquePtr e) => ( |
+ StructWithTraitsForUniquePtr passed); |
+ |
+ EchoNullableStructWithTraitsForUniquePtr(StructWithTraitsForUniquePtr? e) => ( |
+ StructWithTraitsForUniquePtr? passed); |
}; |