| 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 39f1183e20bdc3047cbb477b51df80ed069f09a9..e20ca8c1fe86d689bf544435a9336a7d0dadedc2 100644
|
| --- a/mojo/dart/packages/mojo/lib/mojo/application.mojom.dart
|
| +++ b/mojo/dart/packages/mojo/lib/mojo/application.mojom.dart
|
| @@ -22,6 +22,12 @@ class _ApplicationInitializeParams extends bindings.Struct {
|
|
|
| _ApplicationInitializeParams() : super(kVersions.last.size);
|
|
|
| + _ApplicationInitializeParams.init(
|
| + shell_mojom.ShellInterface this.shell,
|
| + List<String> this.args,
|
| + String this.url
|
| + ) : super(kVersions.last.size);
|
| +
|
| static _ApplicationInitializeParams deserialize(bindings.Message message) {
|
| var decoder = new bindings.Decoder(message);
|
| var result = decode(decoder);
|
| @@ -137,6 +143,13 @@ class _ApplicationAcceptConnectionParams extends bindings.Struct {
|
|
|
| _ApplicationAcceptConnectionParams() : super(kVersions.last.size);
|
|
|
| + _ApplicationAcceptConnectionParams.init(
|
| + String this.requestorUrl,
|
| + service_provider_mojom.ServiceProviderInterfaceRequest this.services,
|
| + service_provider_mojom.ServiceProviderInterface this.exposedServices,
|
| + String this.resolvedUrl
|
| + ) : super(kVersions.last.size);
|
| +
|
| static _ApplicationAcceptConnectionParams deserialize(bindings.Message message) {
|
| var decoder = new bindings.Decoder(message);
|
| var result = decode(decoder);
|
| @@ -243,6 +256,9 @@ class _ApplicationRequestQuitParams extends bindings.Struct {
|
|
|
| _ApplicationRequestQuitParams() : super(kVersions.last.size);
|
|
|
| + _ApplicationRequestQuitParams.init(
|
| + ) : super(kVersions.last.size);
|
| +
|
| static _ApplicationRequestQuitParams deserialize(bindings.Message message) {
|
| var decoder = new bindings.Decoder(message);
|
| var result = decode(decoder);
|
| @@ -298,14 +314,17 @@ const int _applicationMethodAcceptConnectionName = 1;
|
| const int _applicationMethodRequestQuitName = 2;
|
|
|
| class _ApplicationServiceDescription implements service_describer.ServiceDescription {
|
| - dynamic getTopLevelInterface([Function responseFactory]) =>
|
| - responseFactory(null);
|
| + void getTopLevelInterface(Function responder) {
|
| + responder(null);
|
| + }
|
|
|
| - dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
|
| - responseFactory(null);
|
| + void getTypeDefinition(String typeKey, Function responder) {
|
| + responder(null);
|
| + }
|
|
|
| - dynamic getAllTypeDefinitions([Function responseFactory]) =>
|
| - responseFactory(null);
|
| + void getAllTypeDefinitions(Function responder) {
|
| + responder(null);
|
| + }
|
| }
|
|
|
| abstract class Application {
|
| @@ -489,11 +508,11 @@ class _ApplicationStubControl
|
|
|
|
|
|
|
| - dynamic handleMessage(bindings.ServiceMessage message) {
|
| + void handleMessage(bindings.ServiceMessage message) {
|
| if (bindings.ControlMessageHandler.isControlMessage(message)) {
|
| - return bindings.ControlMessageHandler.handleMessage(this,
|
| - 0,
|
| - message);
|
| + bindings.ControlMessageHandler.handleMessage(
|
| + this, 0, message);
|
| + return;
|
| }
|
| if (_impl == null) {
|
| throw new core.MojoApiError("$this has no implementation set");
|
| @@ -516,7 +535,6 @@ class _ApplicationStubControl
|
| throw new bindings.MojoCodecError("Unexpected message name");
|
| break;
|
| }
|
| - return null;
|
| }
|
|
|
| Application get impl => _impl;
|
|
|