| 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 c2ca619ef96197cd75353665a47fe876efc01151..ce76c235a77d7ab9bf4eccad197a6cc85677c3e4 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/mojom_types.mojom.dart' as mojom_types;
 | 
| +import 'package:mojo/mojo/service_describer.mojom.dart' as service_describer;
 | 
|  
 | 
|  
 | 
|  
 | 
| @@ -86,6 +88,21 @@ class PrevWordInfo extends bindings.Struct {
 | 
|    }
 | 
|  }
 | 
|  
 | 
| +mojom_types.MojomStruct _prediction_PrevWordInfo__() {
 | 
| +  return new mojom_types.MojomStruct()
 | 
| +    ..declData = (new mojom_types.DeclarationData()..shortName = 'PrevWordInfo')
 | 
| +    ..fields = <mojom_types.StructField>[
 | 
| +      new mojom_types.StructField()
 | 
| +        ..declData = (new mojom_types.DeclarationData()..shortName = 'Word')
 | 
| +        ..type = (new mojom_types.Type()
 | 
| +..stringType = (new mojom_types.StringType()..nullable = false)),
 | 
| +      
 | 
| +      new mojom_types.StructField()
 | 
| +        ..declData = (new mojom_types.DeclarationData()..shortName = 'IsBeginningOfSentence')
 | 
| +        ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL),
 | 
| +      ];
 | 
| +}
 | 
| +
 | 
|  
 | 
|  class PredictionInfo extends bindings.Struct {
 | 
|    static const List<bindings.StructDataHeader> kVersions = const [
 | 
| @@ -179,6 +196,27 @@ class PredictionInfo extends bindings.Struct {
 | 
|    }
 | 
|  }
 | 
|  
 | 
| +mojom_types.MojomStruct _prediction_PredictionInfo__() {
 | 
| +  return new mojom_types.MojomStruct()
 | 
| +    ..declData = (new mojom_types.DeclarationData()..shortName = 'PredictionInfo')
 | 
| +    ..fields = <mojom_types.StructField>[
 | 
| +      new mojom_types.StructField()
 | 
| +        ..declData = (new mojom_types.DeclarationData()..shortName = 'PreviousWords')
 | 
| +        ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()
 | 
| +    ..elementType = (new mojom_types.Type()
 | 
| +    ..typeReference = (new mojom_types.TypeReference()
 | 
| +  
 | 
| +    ..identifier = '_prediction_PrevWordInfo__'
 | 
| +    ..typeKey = '_prediction_PrevWordInfo__'
 | 
| +  )))),
 | 
| +      
 | 
| +      new mojom_types.StructField()
 | 
| +        ..declData = (new mojom_types.DeclarationData()..shortName = 'CurrentWord')
 | 
| +        ..type = (new mojom_types.Type()
 | 
| +..stringType = (new mojom_types.StringType()..nullable = false)),
 | 
| +      ];
 | 
| +}
 | 
| +
 | 
|  
 | 
|  class PredictionServiceGetPredictionListParams extends bindings.Struct {
 | 
|    static const List<bindings.StructDataHeader> kVersions = const [
 | 
| @@ -247,6 +285,21 @@ class PredictionServiceGetPredictionListParams extends bindings.Struct {
 | 
|    }
 | 
|  }
 | 
|  
 | 
| +mojom_types.MojomStruct _prediction_PredictionService_GetPredictionList_Params__() {
 | 
| +  return new mojom_types.MojomStruct()
 | 
| +    ..declData = (new mojom_types.DeclarationData()..shortName = 'PredictionServiceGetPredictionListParams')
 | 
| +    ..fields = <mojom_types.StructField>[
 | 
| +      new mojom_types.StructField()
 | 
| +        ..declData = (new mojom_types.DeclarationData()..shortName = 'PredictionInfo')
 | 
| +        ..type = (new mojom_types.Type()
 | 
| +    ..typeReference = (new mojom_types.TypeReference()
 | 
| +  
 | 
| +    ..identifier = '_prediction_PredictionInfo__'
 | 
| +    ..typeKey = '_prediction_PredictionInfo__'
 | 
| +  )),
 | 
| +      ];
 | 
| +}
 | 
| +
 | 
|  
 | 
|  class PredictionServiceGetPredictionListResponseParams extends bindings.Struct {
 | 
|    static const List<bindings.StructDataHeader> kVersions = const [
 | 
| @@ -332,11 +385,52 @@ class PredictionServiceGetPredictionListResponseParams extends bindings.Struct {
 | 
|    }
 | 
|  }
 | 
|  
 | 
| +mojom_types.MojomStruct _prediction_PredictionService_GetPredictionList_ResponseParams__() {
 | 
| +  return new mojom_types.MojomStruct()
 | 
| +    ..declData = (new mojom_types.DeclarationData()..shortName = 'PredictionServiceGetPredictionListResponseParams')
 | 
| +    ..fields = <mojom_types.StructField>[
 | 
| +      new mojom_types.StructField()
 | 
| +        ..declData = (new mojom_types.DeclarationData()..shortName = 'PredictionList')
 | 
| +        ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()
 | 
| +    ..nullable = true
 | 
| +    
 | 
| +    ..elementType = (new mojom_types.Type()
 | 
| +..stringType = (new mojom_types.StringType()..nullable = false)))),
 | 
| +      ];
 | 
| +}
 | 
| +
 | 
| +
 | 
|  const int kPredictionService_getPredictionList_name = 0;
 | 
|  
 | 
|  const String PredictionServiceName =
 | 
|        'prediction::PredictionService';
 | 
|  
 | 
| +mojom_types.MojomInterface _prediction_PredictionService__() {
 | 
| +  return new mojom_types.MojomInterface()
 | 
| +    ..declData = (new mojom_types.DeclarationData()..shortName = "PredictionService")
 | 
| +    ..interfaceName = "PredictionService"
 | 
| +    ..methods = <int, mojom_types.MojomMethod>{
 | 
| +kPredictionService_getPredictionList_name: new mojom_types.MojomMethod()
 | 
| +        ..declData = (new mojom_types.DeclarationData()..shortName = "GetPredictionList")
 | 
| +        ..ordinal = kPredictionService_getPredictionList_name
 | 
| +        ..responseParams = _prediction_PredictionService_GetPredictionList_ResponseParams__()..parameters = _prediction_PredictionService_GetPredictionList_Params__(),
 | 
| +    };
 | 
| +}
 | 
| +
 | 
| +class _PredictionServiceServiceDescription extends service_describer.ServiceDescription {
 | 
| +  // Avoid infinite loop by overriding serviceDescription field.
 | 
| +  final service_describer.ServiceDescription serviceDescription = null;
 | 
| +dynamic getTopLevelInterface([Function responseFactory = null]) {
 | 
| +    return _prediction_PredictionService__();
 | 
| +  }
 | 
| +  dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
 | 
| +    return getAllMojomTypeDefinitions()[typeKey];
 | 
| +  }
 | 
| +  dynamic getAllTypeDefinitions([Function responseFactory = null]) {
 | 
| +    return getAllMojomTypeDefinitions();
 | 
| +  }
 | 
| +}
 | 
| +
 | 
|  abstract class PredictionService {
 | 
|    dynamic getPredictionList(PredictionInfo predictionInfo,[Function responseFactory = null]);
 | 
|  
 | 
| @@ -360,6 +454,9 @@ class PredictionServiceProxyImpl extends bindings.Proxy {
 | 
|  
 | 
|    String get name => PredictionServiceName;
 | 
|  
 | 
| +  service_describer.ServiceDescription get serviceDescription =>
 | 
| +    new _PredictionServiceServiceDescription();
 | 
| +
 | 
|    void handleResponse(bindings.ServiceMessage message) {
 | 
|      switch (message.header.type) {
 | 
|        case kPredictionService_getPredictionList_name:
 | 
| @@ -546,6 +643,68 @@ class PredictionServiceStub extends bindings.Stub {
 | 
|    }
 | 
|  
 | 
|    int get version => 0;
 | 
| +
 | 
| +  service_describer.ServiceDescription get serviceDescription =>
 | 
| +    new _PredictionServiceServiceDescription();
 | 
| +}
 | 
| +
 | 
| +
 | 
| +
 | 
| +
 | 
| +
 | 
| +
 | 
| +
 | 
| +
 | 
| +var _MojomDesc__ = _initDescriptions();
 | 
| +
 | 
| +Map<String, mojom_types.UserDefinedType> _initDescriptions() {
 | 
| +  var map = new Map<String, mojom_types.UserDefinedType>();
 | 
| +  
 | 
| +  map["_prediction_PrevWordInfo__"] =
 | 
| +    new mojom_types.UserDefinedType()
 | 
| +      ..structType = _prediction_PrevWordInfo__();
 | 
| +  
 | 
| +
 | 
| +  
 | 
| +
 | 
| +  
 | 
| +
 | 
| +  
 | 
| +  map["_prediction_PredictionInfo__"] =
 | 
| +    new mojom_types.UserDefinedType()
 | 
| +      ..structType = _prediction_PredictionInfo__();
 | 
| +  
 | 
| +
 | 
| +  
 | 
| +
 | 
| +  
 | 
| +
 | 
| +  
 | 
| +  map["_prediction_PredictionService_GetPredictionList_Params__"] =
 | 
| +    new mojom_types.UserDefinedType()
 | 
| +      ..structType = _prediction_PredictionService_GetPredictionList_Params__();
 | 
| +  
 | 
| +
 | 
| +  
 | 
| +
 | 
| +  
 | 
| +  map["_prediction_PredictionService_GetPredictionList_ResponseParams__"] =
 | 
| +    new mojom_types.UserDefinedType()
 | 
| +      ..structType = _prediction_PredictionService_GetPredictionList_ResponseParams__();
 | 
| +  
 | 
| +
 | 
| +  
 | 
| +
 | 
| +  
 | 
| +  map["_prediction_PredictionService__"] =
 | 
| +    new mojom_types.UserDefinedType()
 | 
| +      ..interfaceType = _prediction_PredictionService__();
 | 
| +
 | 
| +  return map;
 | 
| +}
 | 
| +
 | 
| +Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
 | 
| +  return _MojomDesc__;
 | 
|  }
 | 
|  
 | 
|  
 | 
| 
 |