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 cddce2cd25f4acf7f094602c8412a010c9bea0be..e15a164cb8969984a9710650383a2fcd63c93a08 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 |
@@ -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/mojom_types.mojom.dart' as mojom_types_mojom; |
const String serviceDescriberInterfaceName = "_ServiceDescriber"; |
@@ -87,6 +89,8 @@ class _ServiceDescriberDescribeServiceParams extends bindings.Struct { |
} |
+ |
+ |
class _ServiceDescriptionGetTopLevelInterfaceParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -145,6 +149,8 @@ class _ServiceDescriptionGetTopLevelInterfaceParams extends bindings.Struct { |
} |
+ |
+ |
class ServiceDescriptionGetTopLevelInterfaceResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -213,6 +219,8 @@ class ServiceDescriptionGetTopLevelInterfaceResponseParams extends bindings.Stru |
} |
+ |
+ |
class _ServiceDescriptionGetTypeDefinitionParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -280,6 +288,8 @@ class _ServiceDescriptionGetTypeDefinitionParams extends bindings.Struct { |
} |
+ |
+ |
class ServiceDescriptionGetTypeDefinitionResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(24, 0) |
@@ -347,6 +357,8 @@ class ServiceDescriptionGetTypeDefinitionResponseParams extends bindings.Struct |
} |
+ |
+ |
class _ServiceDescriptionGetAllTypeDefinitionsParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -405,6 +417,8 @@ class _ServiceDescriptionGetAllTypeDefinitionsParams extends bindings.Struct { |
} |
+ |
+ |
class ServiceDescriptionGetAllTypeDefinitionsResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -531,8 +545,22 @@ class ServiceDescriptionGetAllTypeDefinitionsResponseParams extends bindings.Str |
} |
} |
+ |
+ |
+ |
const int _ServiceDescriber_describeServiceName = 0; |
+ |
+ |
+class _ServiceDescriberServiceDescription implements ServiceDescription { |
+dynamic getTopLevelInterface([Function responseFactory = null]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) => |
+ null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) => null; |
+} |
+ |
abstract class ServiceDescriber { |
static const String serviceName = "mojo::bindings::types::ServiceDescriber"; |
void describeService(String interfaceName, Object descriptionRequest); |
@@ -554,6 +582,9 @@ class _ServiceDescriberProxyImpl extends bindings.Proxy { |
return new _ServiceDescriberProxyImpl.fromEndpoint(endpoint); |
} |
+ ServiceDescription get serviceDescription => |
+ new _ServiceDescriberServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -698,12 +729,26 @@ class ServiceDescriberStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ ServiceDescription get serviceDescription => |
+ new _ServiceDescriberServiceDescription(); |
} |
const int _ServiceDescription_getTopLevelInterfaceName = 0; |
const int _ServiceDescription_getTypeDefinitionName = 1; |
const int _ServiceDescription_getAllTypeDefinitionsName = 2; |
+ |
+ |
+class _ServiceDescriptionServiceDescription implements ServiceDescription { |
+dynamic getTopLevelInterface([Function responseFactory = null]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) => |
+ null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) => null; |
+} |
+ |
abstract class ServiceDescription { |
static const String serviceName = null; |
dynamic getTopLevelInterface([Function responseFactory = null]); |
@@ -727,6 +772,9 @@ class _ServiceDescriptionProxyImpl extends bindings.Proxy { |
return new _ServiceDescriptionProxyImpl.fromEndpoint(endpoint); |
} |
+ ServiceDescription get serviceDescription => |
+ new _ServiceDescriptionServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _ServiceDescription_getTopLevelInterfaceName: |
@@ -1022,6 +1070,11 @@ class ServiceDescriptionStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ ServiceDescription get serviceDescription => |
+ new _ServiceDescriptionServiceDescription(); |
} |
+ |
+ |