| Index: mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart
|
| diff --git a/mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart b/mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart
|
| index 5cbccfeeb9b672bb016c6e25f044d4dbb64f77cd..afbd88de511e5a00cf19e0e9edbbd1861041501a 100644
|
| --- a/mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart
|
| +++ b/mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart
|
| @@ -1355,13 +1355,13 @@ mojom_types.MojomInterface _sampleFactoryNamedObject() {
|
|
|
| class _NamedObjectServiceDescription implements service_describer.ServiceDescription {
|
| dynamic getTopLevelInterface([Function responseFactory]) =>
|
| - _sampleFactoryNamedObject();
|
| + responseFactory(_sampleFactoryNamedObject());
|
|
|
| dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
|
| - getAllMojomTypeDefinitions()[typeKey];
|
| + responseFactory(getAllMojomTypeDefinitions()[typeKey]);
|
|
|
| dynamic getAllTypeDefinitions([Function responseFactory]) =>
|
| - getAllMojomTypeDefinitions();
|
| + responseFactory(getAllMojomTypeDefinitions());
|
| }
|
|
|
| abstract class NamedObject {
|
| @@ -1588,7 +1588,7 @@ class NamedObjectStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - service_describer.ServiceDescription get serviceDescription =>
|
| + static service_describer.ServiceDescription get serviceDescription =>
|
| new _NamedObjectServiceDescription();
|
| }
|
|
|
| @@ -1639,13 +1639,13 @@ mojom_types.MojomInterface _sampleFactoryFactory() {
|
|
|
| class _FactoryServiceDescription implements service_describer.ServiceDescription {
|
| dynamic getTopLevelInterface([Function responseFactory]) =>
|
| - _sampleFactoryFactory();
|
| + responseFactory(_sampleFactoryFactory());
|
|
|
| dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
|
| - getAllMojomTypeDefinitions()[typeKey];
|
| + responseFactory(getAllMojomTypeDefinitions()[typeKey]);
|
|
|
| dynamic getAllTypeDefinitions([Function responseFactory]) =>
|
| - getAllMojomTypeDefinitions();
|
| + responseFactory(getAllMojomTypeDefinitions());
|
| }
|
|
|
| abstract class Factory {
|
| @@ -2046,7 +2046,7 @@ class FactoryStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - service_describer.ServiceDescription get serviceDescription =>
|
| + static service_describer.ServiceDescription get serviceDescription =>
|
| new _FactoryServiceDescription();
|
| }
|
|
|
|
|