| Index: mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart
|
| index 06f6612808e9a6f54e72dcae0c4563e973375168..b7409310025d8ec901d23f2f5383ecb695c9afc7 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart
|
| @@ -1302,11 +1302,14 @@ const int _UdpSocket_sendToName = 7;
|
|
|
|
|
| class _UdpSocketServiceDescription implements service_describer.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 UdpSocket {
|
| @@ -1880,7 +1883,7 @@ class UdpSocketStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - service_describer.ServiceDescription get serviceDescription =>
|
| + static service_describer.ServiceDescription get serviceDescription =>
|
| new _UdpSocketServiceDescription();
|
| }
|
|
|
| @@ -1889,11 +1892,14 @@ const int _UdpSocketReceiver_onReceivedName = 0;
|
|
|
|
|
| class _UdpSocketReceiverServiceDescription implements service_describer.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 UdpSocketReceiver {
|
| @@ -2066,7 +2072,7 @@ class UdpSocketReceiverStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - service_describer.ServiceDescription get serviceDescription =>
|
| + static service_describer.ServiceDescription get serviceDescription =>
|
| new _UdpSocketReceiverServiceDescription();
|
| }
|
|
|
|
|