| Index: mojo/dart/packages/mojo_services/lib/mojo/geocoder.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/geocoder.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/geocoder.mojom.dart
|
| index c8939f7b7d1828dc08a4f5adde3a65729bd8f79b..f70fa1b87e6c9c47c5ab210feeaf072538f0833c 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/geocoder.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/geocoder.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/location.mojom.dart' as location_mojom;
|
|
|
|
|
| @@ -74,6 +76,8 @@ class LocationType extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class Bounds extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -152,6 +156,8 @@ class Bounds extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ComponentRestrictions extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(48, 0)
|
| @@ -255,6 +261,8 @@ class ComponentRestrictions extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class Options extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(32, 0)
|
| @@ -342,6 +350,8 @@ class Options extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class Geometry extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(40, 0)
|
| @@ -440,6 +450,8 @@ class Geometry extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class Result extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(40, 0)
|
| @@ -551,6 +563,8 @@ class Result extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class Status extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -614,6 +628,8 @@ class Status extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _GeocoderAddressToLocationParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -691,6 +707,8 @@ class _GeocoderAddressToLocationParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class GeocoderAddressToLocationResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -786,6 +804,8 @@ class GeocoderAddressToLocationResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _GeocoderLocationToAddressParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -864,6 +884,8 @@ class _GeocoderLocationToAddressParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class GeocoderLocationToAddressResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -958,9 +980,23 @@ class GeocoderLocationToAddressResponseParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _Geocoder_addressToLocationName = 0;
|
| const int _Geocoder_locationToAddressName = 1;
|
|
|
| +
|
| +
|
| +class _GeocoderServiceDescription 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 Geocoder {
|
| static const String serviceName = null;
|
| dynamic addressToLocation(String address,Options options,[Function responseFactory = null]);
|
| @@ -983,6 +1019,9 @@ class _GeocoderProxyImpl extends bindings.Proxy {
|
| return new _GeocoderProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _GeocoderServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _Geocoder_addressToLocationName:
|
| @@ -1228,6 +1267,11 @@ class GeocoderStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _GeocoderServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|