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 0875c0ea67b6fbfec02b6632c8b9077fd1650ae3..5a9c3c683aa77248b4b5461b2916538ee5459200 100644 |
--- a/mojo/dart/packages/mojo_services/lib/notifications/notifications.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/notifications/notifications.mojom.dart |
@@ -8,6 +8,8 @@ import 'dart:async'; |
import 'package:mojo/bindings.dart' as bindings; |
import 'package:mojo/core.dart' as core; |
+import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; |
+import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer; |
@@ -114,6 +116,8 @@ class NotificationData extends bindings.Struct { |
} |
+ |
+ |
class _NotificationClientOnSelectedParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -172,6 +176,8 @@ class _NotificationClientOnSelectedParams extends bindings.Struct { |
} |
+ |
+ |
class _NotificationClientOnDismissedParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -230,6 +236,8 @@ class _NotificationClientOnDismissedParams extends bindings.Struct { |
} |
+ |
+ |
class _NotificationUpdateParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -298,6 +306,8 @@ class _NotificationUpdateParams extends bindings.Struct { |
} |
+ |
+ |
class _NotificationCancelParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -356,6 +366,8 @@ class _NotificationCancelParams extends bindings.Struct { |
} |
+ |
+ |
class _NotificationServicePostParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(32, 0) |
@@ -438,9 +450,23 @@ class _NotificationServicePostParams extends bindings.Struct { |
} |
} |
+ |
+ |
+ |
const int _NotificationClient_onSelectedName = 0; |
const int _NotificationClient_onDismissedName = 1; |
+ |
+ |
+class _NotificationClientServiceDescription implements service_describer.ServiceDescription { |
+dynamic getTopLevelInterface([Function responseFactory = null]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) => |
+ null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) => null; |
+} |
+ |
abstract class NotificationClient { |
static const String serviceName = null; |
void onSelected(); |
@@ -463,6 +489,9 @@ class _NotificationClientProxyImpl extends bindings.Proxy { |
return new _NotificationClientProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NotificationClientServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -618,11 +647,25 @@ class NotificationClientStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NotificationClientServiceDescription(); |
} |
const int _Notification_updateName = 0; |
const int _Notification_cancelName = 1; |
+ |
+ |
+class _NotificationServiceDescription implements service_describer.ServiceDescription { |
+dynamic getTopLevelInterface([Function responseFactory = null]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) => |
+ null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) => null; |
+} |
+ |
abstract class Notification { |
static const String serviceName = null; |
void update(NotificationData notificationData); |
@@ -645,6 +688,9 @@ class _NotificationProxyImpl extends bindings.Proxy { |
return new _NotificationProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NotificationServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -801,10 +847,24 @@ class NotificationStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NotificationServiceDescription(); |
} |
const int _NotificationService_postName = 0; |
+ |
+ |
+class _NotificationServiceServiceDescription implements service_describer.ServiceDescription { |
+dynamic getTopLevelInterface([Function responseFactory = null]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) => |
+ null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) => null; |
+} |
+ |
abstract class NotificationService { |
static const String serviceName = "notifications::NotificationService"; |
void post(NotificationData notificationData, Object client, Object notification); |
@@ -826,6 +886,9 @@ class _NotificationServiceProxyImpl extends bindings.Proxy { |
return new _NotificationServiceProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NotificationServiceServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -971,6 +1034,11 @@ class NotificationServiceStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NotificationServiceServiceDescription(); |
} |
+ |
+ |