Index: mojo/public/interfaces/bindings/tests/sample_factory.mojom |
diff --git a/mojo/public/interfaces/bindings/tests/sample_factory.mojom b/mojo/public/interfaces/bindings/tests/sample_factory.mojom |
index 97078287b34458321c9f69e0867df63b009fcdf2..c1101d8087dcb8cd8d12ae69c60f2e79dd4364b0 100644 |
--- a/mojo/public/interfaces/bindings/tests/sample_factory.mojom |
+++ b/mojo/public/interfaces/bindings/tests/sample_factory.mojom |
@@ -12,16 +12,16 @@ module sample { |
struct Request { |
int32 x; |
- handle<message_pipe> pipe; |
- handle<message_pipe>[] more_pipes; |
+ handle<message_pipe>? pipe; |
+ handle<message_pipe>[]? more_pipes; |
// Interfaces can be used as members. |
- imported.ImportedInterface obj; |
+ imported.ImportedInterface? obj; |
}; |
struct Response { |
int32 x; |
- handle<message_pipe> pipe; |
+ handle<message_pipe>? pipe; |
}; |
interface NamedObject { |
@@ -31,7 +31,7 @@ interface NamedObject { |
[Client=FactoryClient] |
interface Factory { |
- DoStuff(Request request, handle<message_pipe> pipe); |
+ DoStuff(Request request, handle<message_pipe>? pipe); |
DoStuff2(handle<data_pipe_consumer> pipe); |
CreateNamedObject(NamedObject& obj); |
RequestImportedInterface( |