| Index: mojo/dart/packages/mojo_services/lib/notifications/notifications.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/notifications/notifications.mojom.dart b/mojo/dart/packages/mojo_services/lib/notifications/notifications.mojom.dart
|
| index 409c510c803babf72d2d680a4209c8553b988d1c..fcfcaacbfa8514b0ff9befba7e7f33d9028a5283 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/notifications/notifications.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/notifications/notifications.mojom.dart
|
| @@ -504,11 +504,14 @@ const int _NotificationClient_onDismissedName = 1;
|
|
|
|
|
| class _NotificationClientServiceDescription 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 NotificationClient {
|
| @@ -692,7 +695,7 @@ class NotificationClientStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - service_describer.ServiceDescription get serviceDescription =>
|
| + static service_describer.ServiceDescription get serviceDescription =>
|
| new _NotificationClientServiceDescription();
|
| }
|
|
|
| @@ -702,11 +705,14 @@ const int _Notification_cancelName = 1;
|
|
|
|
|
| class _NotificationServiceDescription 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 Notification {
|
| @@ -891,7 +897,7 @@ class NotificationStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - service_describer.ServiceDescription get serviceDescription =>
|
| + static service_describer.ServiceDescription get serviceDescription =>
|
| new _NotificationServiceDescription();
|
| }
|
|
|
| @@ -900,11 +906,14 @@ const int _NotificationService_postName = 0;
|
|
|
|
|
| class _NotificationServiceServiceDescription 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 NotificationService {
|
| @@ -1077,7 +1086,7 @@ class NotificationServiceStub extends bindings.Stub {
|
|
|
| int get version => 0;
|
|
|
| - service_describer.ServiceDescription get serviceDescription =>
|
| + static service_describer.ServiceDescription get serviceDescription =>
|
| new _NotificationServiceServiceDescription();
|
| }
|
|
|
|
|