| Index: mojo/dart/packages/mojo_services/lib/native_support/process.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/native_support/process.mojom.dart b/mojo/dart/packages/mojo_services/lib/native_support/process.mojom.dart
|
| index 7e89fe51d27f80d8504e9d0e8956ddc47f747f1d..b1cb516c1b45008094e15ba24c02462858e20e12 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/native_support/process.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/native_support/process.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_services/mojo/files/file.mojom.dart' as file_mojom;
|
| import 'package:mojo_services/mojo/files/types.mojom.dart' as types_mojom;
|
|
|
| @@ -163,6 +165,8 @@ class _ProcessSpawnParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ProcessSpawnResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -234,6 +238,8 @@ class ProcessSpawnResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ProcessSpawnWithTerminalParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(48, 0)
|
| @@ -368,6 +374,8 @@ class _ProcessSpawnWithTerminalParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ProcessSpawnWithTerminalResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -439,6 +447,8 @@ class ProcessSpawnWithTerminalResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ProcessControllerWaitParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -497,6 +507,8 @@ class _ProcessControllerWaitParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ProcessControllerWaitResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -577,6 +589,8 @@ class ProcessControllerWaitResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ProcessControllerKillParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -644,6 +658,8 @@ class _ProcessControllerKillParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ProcessControllerKillResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -714,9 +730,23 @@ class ProcessControllerKillResponseParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _Process_spawnName = 0;
|
| const int _Process_spawnWithTerminalName = 1;
|
|
|
| +
|
| +
|
| +class _ProcessServiceDescription 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 Process {
|
| static const String serviceName = "native_support::Process";
|
| dynamic spawn(List<int> path,List<List<int>> argv,List<List<int>> envp,Object stdinFile,Object stdoutFile,Object stderrFile,Object processController,[Function responseFactory = null]);
|
| @@ -739,6 +769,9 @@ class _ProcessProxyImpl extends bindings.Proxy {
|
| return new _ProcessProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ProcessServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _Process_spawnName:
|
| @@ -990,11 +1023,25 @@ class ProcessStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ProcessServiceDescription();
|
| }
|
|
|
| const int _ProcessController_waitName = 0;
|
| const int _ProcessController_killName = 1;
|
|
|
| +
|
| +
|
| +class _ProcessControllerServiceDescription 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 ProcessController {
|
| static const String serviceName = null;
|
| dynamic wait([Function responseFactory = null]);
|
| @@ -1017,6 +1064,9 @@ class _ProcessControllerProxyImpl extends bindings.Proxy {
|
| return new _ProcessControllerProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ProcessControllerServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _ProcessController_waitName:
|
| @@ -1258,6 +1308,11 @@ class ProcessControllerStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ProcessControllerServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|