| Index: mojo/dart/packages/mojo/lib/mojo/application_connector.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo/lib/mojo/application_connector.mojom.dart b/mojo/dart/packages/mojo/lib/mojo/application_connector.mojom.dart
|
| index 9806c012ef75a051752fdb7dd2e6773210e51588..925bf82a348c7629730779e85411c87db981687a 100644
|
| --- a/mojo/dart/packages/mojo/lib/mojo/application_connector.mojom.dart
|
| +++ b/mojo/dart/packages/mojo/lib/mojo/application_connector.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;
|
| import 'package:mojo/mojo/service_provider.mojom.dart' as service_provider_mojom;
|
|
|
|
|
| @@ -94,6 +96,8 @@ class _ApplicationConnectorConnectToApplicationParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ApplicationConnectorDuplicateParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -159,9 +163,23 @@ class _ApplicationConnectorDuplicateParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _ApplicationConnector_connectToApplicationName = 0;
|
| const int _ApplicationConnector_duplicateName = 1;
|
|
|
| +
|
| +
|
| +class _ApplicationConnectorServiceDescription 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 ApplicationConnector {
|
| static const String serviceName = null;
|
| void connectToApplication(String applicationUrl, Object services, Object exposedServices);
|
| @@ -184,6 +202,9 @@ class _ApplicationConnectorProxyImpl extends bindings.Proxy {
|
| return new _ApplicationConnectorProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ApplicationConnectorServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -343,6 +364,11 @@ class ApplicationConnectorStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ApplicationConnectorServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|