| 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..c58503ff9b57205aa22708873454eb9f9a8e2036 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,22 @@ 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;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| +}
|
| +
|
| abstract class ApplicationConnector {
|
| static const String serviceName = null;
|
| void connectToApplication(String applicationUrl, Object services, Object exposedServices);
|
| @@ -184,6 +201,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 +363,10 @@ class ApplicationConnectorStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ApplicationConnectorServiceDescription();
|
| }
|
|
|
|
|
| +
|
|
|