| Index: mojo/dart/packages/mojo/lib/mojo/application.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo/lib/mojo/application.mojom.dart b/mojo/dart/packages/mojo/lib/mojo/application.mojom.dart
|
| index 9f9b9bcb623a63f8cb6861a4c4b7d0efd68d5bad..17b6e476ee51684d9d07fba40f9cf3c4710d7bb2 100644
|
| --- a/mojo/dart/packages/mojo/lib/mojo/application.mojom.dart
|
| +++ b/mojo/dart/packages/mojo/lib/mojo/application.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;
|
| import 'package:mojo/mojo/shell.mojom.dart' as shell_mojom;
|
|
|
| @@ -113,6 +115,8 @@ class _ApplicationInitializeParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ApplicationAcceptConnectionParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(40, 0)
|
| @@ -203,6 +207,8 @@ class _ApplicationAcceptConnectionParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ApplicationRequestQuitParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -260,10 +266,24 @@ class _ApplicationRequestQuitParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _Application_initializeName = 0;
|
| const int _Application_acceptConnectionName = 1;
|
| const int _Application_requestQuitName = 2;
|
|
|
| +
|
| +
|
| +class _ApplicationServiceDescription 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 Application {
|
| static const String serviceName = null;
|
| void initialize(Object shell, List<String> args, String url);
|
| @@ -287,6 +307,9 @@ class _ApplicationProxyImpl extends bindings.Proxy {
|
| return new _ApplicationProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ApplicationServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -462,6 +485,11 @@ class ApplicationStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ApplicationServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|