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 42408bdaa78ef4ed470cf11dff012a1dbf259672..daaed1e0a42767ae12d890a3c991b321b2f65130 100644 |
--- a/mojo/public/interfaces/bindings/tests/sample_factory.mojom |
+++ b/mojo/public/interfaces/bindings/tests/sample_factory.mojom |
@@ -19,10 +19,16 @@ struct Response { |
handle<message_pipe> pipe; |
}; |
+interface Object { |
+ SetName(string name); |
+ GetName() => (string name); |
+}; |
+ |
[Client=FactoryClient] |
interface Factory { |
DoStuff(Request request, handle<message_pipe> pipe); |
DoStuff2(handle<data_pipe_consumer> pipe); |
+ CreateObject(Object& obj); |
}; |
interface FactoryClient { |