| Index: mojo/dart/packages/mojo_services/lib/prediction/prediction.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/prediction/prediction.mojom.dart b/mojo/dart/packages/mojo_services/lib/prediction/prediction.mojom.dart
|
| index 96e0938de1de3f54782327c90e4a634043485072..73fb602912e7b780d31f0efa95fa5bd20190a51f 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/prediction/prediction.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/prediction/prediction.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;
|
|
|
|
|
|
|
| @@ -87,6 +89,8 @@ class PrevWordInfo extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class PredictionInfo extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -180,6 +184,8 @@ class PredictionInfo extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _PredictionServiceGetPredictionListParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -248,6 +254,8 @@ class _PredictionServiceGetPredictionListParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class PredictionServiceGetPredictionListResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -332,8 +340,22 @@ class PredictionServiceGetPredictionListResponseParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _PredictionService_getPredictionListName = 0;
|
|
|
| +
|
| +
|
| +class _PredictionServiceServiceDescription 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 PredictionService {
|
| static const String serviceName = "prediction::PredictionService";
|
| dynamic getPredictionList(PredictionInfo predictionInfo,[Function responseFactory = null]);
|
| @@ -355,6 +377,9 @@ class _PredictionServiceProxyImpl extends bindings.Proxy {
|
| return new _PredictionServiceProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _PredictionServiceServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _PredictionService_getPredictionListName:
|
| @@ -540,6 +565,11 @@ class PredictionServiceStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _PredictionServiceServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|