Index: third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom |
diff --git a/third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom b/third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom |
index eb5d93070ef700f5c165ddbda38b57b26aeddba0..ade3bf37d65f8b2480ce258a54bb36c51632af6f 100644 |
--- a/third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom |
+++ b/third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom |
@@ -29,18 +29,13 @@ interface NamedObject { |
GetName() => (string name); |
}; |
-[Client=FactoryClient] |
interface Factory { |
- DoStuff(Request request, handle<message_pipe>? pipe); |
- DoStuff2(handle<data_pipe_consumer> pipe); |
+ DoStuff(Request request, handle<message_pipe>? pipe) => |
+ (Response response, string text); |
+ DoStuff2(handle<data_pipe_consumer> pipe) => (string text); |
CreateNamedObject(NamedObject& obj); |
RequestImportedInterface( |
imported.ImportedInterface& obj) => (imported.ImportedInterface& obj); |
TakeImportedInterface( |
imported.ImportedInterface obj) => (imported.ImportedInterface obj); |
}; |
- |
-interface FactoryClient { |
- DidStuff(Response response, string text); |
- DidStuff2(string text); |
-}; |