| Index: mojo/dart/packages/mojo_services/lib/nfc/nfc.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/nfc/nfc.mojom.dart b/mojo/dart/packages/mojo_services/lib/nfc/nfc.mojom.dart
|
| index 85058cb9a106c17f66b2e448300fb0abbfb5fd64..f84307672a6c0bb532eb2fc17dcb9d630693a9ea 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/nfc/nfc.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/nfc/nfc.mojom.dart
|
| @@ -508,11 +508,14 @@ const int _NfcTransmission_cancelName = 0;
|
|
|
|
|
| class _NfcTransmissionServiceDescription 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 NfcTransmission {
|
| @@ -682,7 +685,7 @@ class NfcTransmissionStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - service_describer.ServiceDescription get serviceDescription =>
|
| + static service_describer.ServiceDescription get serviceDescription =>
|
| new _NfcTransmissionServiceDescription();
|
| }
|
|
|
| @@ -691,11 +694,14 @@ const int _NfcReceiver_onReceivedNfcDataName = 0;
|
|
|
|
|
| class _NfcReceiverServiceDescription 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 NfcReceiver {
|
| @@ -866,7 +872,7 @@ class NfcReceiverStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - service_describer.ServiceDescription get serviceDescription =>
|
| + static service_describer.ServiceDescription get serviceDescription =>
|
| new _NfcReceiverServiceDescription();
|
| }
|
|
|
| @@ -877,11 +883,14 @@ const int _Nfc_unregisterName = 2;
|
|
|
|
|
| class _NfcServiceDescription 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 Nfc {
|
| @@ -1123,7 +1132,7 @@ class NfcStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - service_describer.ServiceDescription get serviceDescription =>
|
| + static service_describer.ServiceDescription get serviceDescription =>
|
| new _NfcServiceDescription();
|
| }
|
|
|
|
|