| Index: mojo/dart/packages/mojo_services/lib/mojo/files/files.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/files/files.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/files/files.mojom.dart
|
| index c62235ffd87c22d2057f03910c3ab51a666d843c..9b585156cb055744ee2f1f46d2d977bf46345df2 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/files/files.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/files/files.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/directory.mojom.dart' as directory_mojom;
|
| import 'package:mojo_services/mojo/files/types.mojom.dart' as types_mojom;
|
|
|
| @@ -87,6 +89,8 @@ class _FilesOpenFileSystemParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class FilesOpenFileSystemResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -157,8 +161,22 @@ class FilesOpenFileSystemResponseParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _Files_openFileSystemName = 0;
|
|
|
| +
|
| +
|
| +class _FilesServiceDescription 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 Files {
|
| static const String serviceName = "mojo::files::Files";
|
| dynamic openFileSystem(String fileSystem,Object directory,[Function responseFactory = null]);
|
| @@ -180,6 +198,9 @@ class _FilesProxyImpl extends bindings.Proxy {
|
| return new _FilesProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _FilesServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _Files_openFileSystemName:
|
| @@ -366,6 +387,11 @@ class FilesStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _FilesServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|