| Index: mojo/dart/packages/mojo_services/lib/icu_data/icu_data.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/icu_data/icu_data.mojom.dart b/mojo/dart/packages/mojo_services/lib/icu_data/icu_data.mojom.dart
|
| index d74f533193b27f310cb29fac15f38ab01e72fa98..b3707fc3fa58d98f5984491b23ce7063498e84ba 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/icu_data/icu_data.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/icu_data/icu_data.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;
|
|
|
|
|
|
|
| @@ -78,6 +80,8 @@ class _IcuDataMapParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class IcuDataMapResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -143,8 +147,22 @@ class IcuDataMapResponseParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _IcuData_mapName = 0;
|
|
|
| +
|
| +
|
| +class _IcuDataServiceDescription 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 IcuData {
|
| static const String serviceName = "icu_data::ICUData";
|
| dynamic map(String sha1hash,[Function responseFactory = null]);
|
| @@ -166,6 +184,9 @@ class _IcuDataProxyImpl extends bindings.Proxy {
|
| return new _IcuDataProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _IcuDataServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _IcuData_mapName:
|
| @@ -351,6 +372,11 @@ class IcuDataStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _IcuDataServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|