| Index: mojo/dart/packages/mojo/lib/mojo/bindings/types/service_describer.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo/lib/mojo/bindings/types/service_describer.mojom.dart b/mojo/dart/packages/mojo/lib/mojo/bindings/types/service_describer.mojom.dart
|
| index 75509d3d9263e41d42044c429801b8cb6bd896eb..a64fc0cc5739d035bc46d54c921bb78ba4e95331 100644
|
| --- a/mojo/dart/packages/mojo/lib/mojo/bindings/types/service_describer.mojom.dart
|
| +++ b/mojo/dart/packages/mojo/lib/mojo/bindings/types/service_describer.mojom.dart
|
| @@ -580,11 +580,14 @@ const int _ServiceDescriber_describeServiceName = 0;
|
|
|
|
|
| class _ServiceDescriberServiceDescription implements ServiceDescription {
|
| - dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| + dynamic getTopLevelInterface([Function responseFactory]) =>
|
| + responseFactory(null);
|
|
|
| - dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
|
| + responseFactory(null);
|
|
|
| - dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) =>
|
| + responseFactory(null);
|
| }
|
|
|
| abstract class ServiceDescriber {
|
| @@ -756,7 +759,7 @@ class ServiceDescriberStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - ServiceDescription get serviceDescription =>
|
| + static ServiceDescription get serviceDescription =>
|
| new _ServiceDescriberServiceDescription();
|
| }
|
|
|
| @@ -767,11 +770,14 @@ const int _ServiceDescription_getAllTypeDefinitionsName = 2;
|
|
|
|
|
| class _ServiceDescriptionServiceDescription implements ServiceDescription {
|
| - dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| + dynamic getTopLevelInterface([Function responseFactory]) =>
|
| + responseFactory(null);
|
|
|
| - dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
|
| + responseFactory(null);
|
|
|
| - dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) =>
|
| + responseFactory(null);
|
| }
|
|
|
| abstract class ServiceDescription {
|
| @@ -1096,7 +1102,7 @@ class ServiceDescriptionStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - ServiceDescription get serviceDescription =>
|
| + static ServiceDescription get serviceDescription =>
|
| new _ServiceDescriptionServiceDescription();
|
| }
|
|
|
|
|