Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: mojo/dart/packages/mojo_services/lib/contacts/contacts.mojom.dart

Issue 1433183002: Generate Mojom Types for Dart (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Simplify identifier_store for Go and Dart Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 library contacts_mojom; 5 library contacts_mojom;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:mojo/bindings.dart' as bindings; 9 import 'package:mojo/bindings.dart' as bindings;
10 import 'package:mojo/core.dart' as core; 10 import 'package:mojo/core.dart' as core;
11 import 'package:mojo/mojo/mojom_types.mojom.dart' as mojom_types;
12 import 'package:mojo/mojo/service_describer.mojom.dart' as service_describer;
11 13
12 14
13 15
14 class Contact extends bindings.Struct { 16 class Contact extends bindings.Struct {
15 static const List<bindings.StructDataHeader> kVersions = const [ 17 static const List<bindings.StructDataHeader> kVersions = const [
16 const bindings.StructDataHeader(24, 0) 18 const bindings.StructDataHeader(24, 0)
17 ]; 19 ];
18 int id = 0; 20 int id = 0;
19 String name = null; 21 String name = null;
20 22
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 } 81 }
80 82
81 Map toJson() { 83 Map toJson() {
82 Map map = new Map(); 84 Map map = new Map();
83 map["id"] = id; 85 map["id"] = id;
84 map["name"] = name; 86 map["name"] = name;
85 return map; 87 return map;
86 } 88 }
87 } 89 }
88 90
91 mojom_types.MojomStruct _contacts_Contact__() {
92 return new mojom_types.MojomStruct()
93 ..declData = (new mojom_types.DeclarationData()..shortName = 'Contact')
94 ..fields = <mojom_types.StructField>[
95 new mojom_types.StructField()
96 ..declData = (new mojom_types.DeclarationData()..shortName = 'Id')
97 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN T64),
98
99 new mojom_types.StructField()
100 ..declData = (new mojom_types.DeclarationData()..shortName = 'Name')
101 ..type = (new mojom_types.Type()
102 ..stringType = (new mojom_types.StringType()..nullable = false)),
103 ];
104 }
105
89 106
90 class ContactsServiceGetCountParams extends bindings.Struct { 107 class ContactsServiceGetCountParams extends bindings.Struct {
91 static const List<bindings.StructDataHeader> kVersions = const [ 108 static const List<bindings.StructDataHeader> kVersions = const [
92 const bindings.StructDataHeader(16, 0) 109 const bindings.StructDataHeader(16, 0)
93 ]; 110 ];
94 String filter = null; 111 String filter = null;
95 112
96 ContactsServiceGetCountParams() : super(kVersions.last.size); 113 ContactsServiceGetCountParams() : super(kVersions.last.size);
97 114
98 static ContactsServiceGetCountParams deserialize(bindings.Message message) { 115 static ContactsServiceGetCountParams deserialize(bindings.Message message) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 "filter: $filter" ")"; 163 "filter: $filter" ")";
147 } 164 }
148 165
149 Map toJson() { 166 Map toJson() {
150 Map map = new Map(); 167 Map map = new Map();
151 map["filter"] = filter; 168 map["filter"] = filter;
152 return map; 169 return map;
153 } 170 }
154 } 171 }
155 172
173 mojom_types.MojomStruct _contacts_ContactsService_GetCount_Params__() {
174 return new mojom_types.MojomStruct()
175 ..declData = (new mojom_types.DeclarationData()..shortName = 'ContactsServic eGetCountParams')
176 ..fields = <mojom_types.StructField>[
177 new mojom_types.StructField()
178 ..declData = (new mojom_types.DeclarationData()..shortName = 'Filter')
179 ..type = (new mojom_types.Type()
180 ..stringType = (new mojom_types.StringType()..nullable = true)),
181 ];
182 }
183
156 184
157 class ContactsServiceGetCountResponseParams extends bindings.Struct { 185 class ContactsServiceGetCountResponseParams extends bindings.Struct {
158 static const List<bindings.StructDataHeader> kVersions = const [ 186 static const List<bindings.StructDataHeader> kVersions = const [
159 const bindings.StructDataHeader(16, 0) 187 const bindings.StructDataHeader(16, 0)
160 ]; 188 ];
161 int count = 0; 189 int count = 0;
162 190
163 ContactsServiceGetCountResponseParams() : super(kVersions.last.size); 191 ContactsServiceGetCountResponseParams() : super(kVersions.last.size);
164 192
165 static ContactsServiceGetCountResponseParams deserialize(bindings.Message mess age) { 193 static ContactsServiceGetCountResponseParams deserialize(bindings.Message mess age) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 "count: $count" ")"; 241 "count: $count" ")";
214 } 242 }
215 243
216 Map toJson() { 244 Map toJson() {
217 Map map = new Map(); 245 Map map = new Map();
218 map["count"] = count; 246 map["count"] = count;
219 return map; 247 return map;
220 } 248 }
221 } 249 }
222 250
251 mojom_types.MojomStruct _contacts_ContactsService_GetCount_ResponseParams__() {
252 return new mojom_types.MojomStruct()
253 ..declData = (new mojom_types.DeclarationData()..shortName = 'ContactsServic eGetCountResponseParams')
254 ..fields = <mojom_types.StructField>[
255 new mojom_types.StructField()
256 ..declData = (new mojom_types.DeclarationData()..shortName = 'Count')
257 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT64),
258 ];
259 }
260
223 261
224 class ContactsServiceGetParams extends bindings.Struct { 262 class ContactsServiceGetParams extends bindings.Struct {
225 static const List<bindings.StructDataHeader> kVersions = const [ 263 static const List<bindings.StructDataHeader> kVersions = const [
226 const bindings.StructDataHeader(24, 0) 264 const bindings.StructDataHeader(24, 0)
227 ]; 265 ];
228 String filter = null; 266 String filter = null;
229 int offset = 0; 267 int offset = 0;
230 int limit = 0; 268 int limit = 0;
231 269
232 ContactsServiceGetParams() : super(kVersions.last.size); 270 ContactsServiceGetParams() : super(kVersions.last.size);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 336
299 Map toJson() { 337 Map toJson() {
300 Map map = new Map(); 338 Map map = new Map();
301 map["filter"] = filter; 339 map["filter"] = filter;
302 map["offset"] = offset; 340 map["offset"] = offset;
303 map["limit"] = limit; 341 map["limit"] = limit;
304 return map; 342 return map;
305 } 343 }
306 } 344 }
307 345
346 mojom_types.MojomStruct _contacts_ContactsService_Get_Params__() {
347 return new mojom_types.MojomStruct()
348 ..declData = (new mojom_types.DeclarationData()..shortName = 'ContactsServic eGetParams')
349 ..fields = <mojom_types.StructField>[
350 new mojom_types.StructField()
351 ..declData = (new mojom_types.DeclarationData()..shortName = 'Filter')
352 ..type = (new mojom_types.Type()
353 ..stringType = (new mojom_types.StringType()..nullable = true)),
354
355 new mojom_types.StructField()
356 ..declData = (new mojom_types.DeclarationData()..shortName = 'Offset')
357 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
358
359 new mojom_types.StructField()
360 ..declData = (new mojom_types.DeclarationData()..shortName = 'Limit')
361 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
362 ];
363 }
364
308 365
309 class ContactsServiceGetResponseParams extends bindings.Struct { 366 class ContactsServiceGetResponseParams extends bindings.Struct {
310 static const List<bindings.StructDataHeader> kVersions = const [ 367 static const List<bindings.StructDataHeader> kVersions = const [
311 const bindings.StructDataHeader(16, 0) 368 const bindings.StructDataHeader(16, 0)
312 ]; 369 ];
313 List<Contact> contacts = null; 370 List<Contact> contacts = null;
314 371
315 ContactsServiceGetResponseParams() : super(kVersions.last.size); 372 ContactsServiceGetResponseParams() : super(kVersions.last.size);
316 373
317 static ContactsServiceGetResponseParams deserialize(bindings.Message message) { 374 static ContactsServiceGetResponseParams deserialize(bindings.Message message) {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 "contacts: $contacts" ")"; 439 "contacts: $contacts" ")";
383 } 440 }
384 441
385 Map toJson() { 442 Map toJson() {
386 Map map = new Map(); 443 Map map = new Map();
387 map["contacts"] = contacts; 444 map["contacts"] = contacts;
388 return map; 445 return map;
389 } 446 }
390 } 447 }
391 448
449 mojom_types.MojomStruct _contacts_ContactsService_Get_ResponseParams__() {
450 return new mojom_types.MojomStruct()
451 ..declData = (new mojom_types.DeclarationData()..shortName = 'ContactsServic eGetResponseParams')
452 ..fields = <mojom_types.StructField>[
453 new mojom_types.StructField()
454 ..declData = (new mojom_types.DeclarationData()..shortName = 'Contacts')
455 ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType ()
456 ..elementType = (new mojom_types.Type()
457 ..typeReference = (new mojom_types.TypeReference()
458
459 ..identifier = '_contacts_Contact__'
460 ..typeKey = '_contacts_Contact__'
461 )))),
462 ];
463 }
464
392 465
393 class ContactsServiceGetEmailsParams extends bindings.Struct { 466 class ContactsServiceGetEmailsParams extends bindings.Struct {
394 static const List<bindings.StructDataHeader> kVersions = const [ 467 static const List<bindings.StructDataHeader> kVersions = const [
395 const bindings.StructDataHeader(16, 0) 468 const bindings.StructDataHeader(16, 0)
396 ]; 469 ];
397 int id = 0; 470 int id = 0;
398 471
399 ContactsServiceGetEmailsParams() : super(kVersions.last.size); 472 ContactsServiceGetEmailsParams() : super(kVersions.last.size);
400 473
401 static ContactsServiceGetEmailsParams deserialize(bindings.Message message) { 474 static ContactsServiceGetEmailsParams deserialize(bindings.Message message) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 "id: $id" ")"; 522 "id: $id" ")";
450 } 523 }
451 524
452 Map toJson() { 525 Map toJson() {
453 Map map = new Map(); 526 Map map = new Map();
454 map["id"] = id; 527 map["id"] = id;
455 return map; 528 return map;
456 } 529 }
457 } 530 }
458 531
532 mojom_types.MojomStruct _contacts_ContactsService_GetEmails_Params__() {
533 return new mojom_types.MojomStruct()
534 ..declData = (new mojom_types.DeclarationData()..shortName = 'ContactsServic eGetEmailsParams')
535 ..fields = <mojom_types.StructField>[
536 new mojom_types.StructField()
537 ..declData = (new mojom_types.DeclarationData()..shortName = 'Id')
538 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN T64),
539 ];
540 }
541
459 542
460 class ContactsServiceGetEmailsResponseParams extends bindings.Struct { 543 class ContactsServiceGetEmailsResponseParams extends bindings.Struct {
461 static const List<bindings.StructDataHeader> kVersions = const [ 544 static const List<bindings.StructDataHeader> kVersions = const [
462 const bindings.StructDataHeader(16, 0) 545 const bindings.StructDataHeader(16, 0)
463 ]; 546 ];
464 List<String> emails = null; 547 List<String> emails = null;
465 548
466 ContactsServiceGetEmailsResponseParams() : super(kVersions.last.size); 549 ContactsServiceGetEmailsResponseParams() : super(kVersions.last.size);
467 550
468 static ContactsServiceGetEmailsResponseParams deserialize(bindings.Message mes sage) { 551 static ContactsServiceGetEmailsResponseParams deserialize(bindings.Message mes sage) {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 "emails: $emails" ")"; 615 "emails: $emails" ")";
533 } 616 }
534 617
535 Map toJson() { 618 Map toJson() {
536 Map map = new Map(); 619 Map map = new Map();
537 map["emails"] = emails; 620 map["emails"] = emails;
538 return map; 621 return map;
539 } 622 }
540 } 623 }
541 624
625 mojom_types.MojomStruct _contacts_ContactsService_GetEmails_ResponseParams__() {
626 return new mojom_types.MojomStruct()
627 ..declData = (new mojom_types.DeclarationData()..shortName = 'ContactsServic eGetEmailsResponseParams')
628 ..fields = <mojom_types.StructField>[
629 new mojom_types.StructField()
630 ..declData = (new mojom_types.DeclarationData()..shortName = 'Emails')
631 ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType ()
632 ..elementType = (new mojom_types.Type()
633 ..stringType = (new mojom_types.StringType()..nullable = false)))),
634 ];
635 }
636
542 637
543 class ContactsServiceGetPhotoParams extends bindings.Struct { 638 class ContactsServiceGetPhotoParams extends bindings.Struct {
544 static const List<bindings.StructDataHeader> kVersions = const [ 639 static const List<bindings.StructDataHeader> kVersions = const [
545 const bindings.StructDataHeader(24, 0) 640 const bindings.StructDataHeader(24, 0)
546 ]; 641 ];
547 int id = 0; 642 int id = 0;
548 bool highResolution = false; 643 bool highResolution = false;
549 644
550 ContactsServiceGetPhotoParams() : super(kVersions.last.size); 645 ContactsServiceGetPhotoParams() : super(kVersions.last.size);
551 646
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 } 703 }
609 704
610 Map toJson() { 705 Map toJson() {
611 Map map = new Map(); 706 Map map = new Map();
612 map["id"] = id; 707 map["id"] = id;
613 map["highResolution"] = highResolution; 708 map["highResolution"] = highResolution;
614 return map; 709 return map;
615 } 710 }
616 } 711 }
617 712
713 mojom_types.MojomStruct _contacts_ContactsService_GetPhoto_Params__() {
714 return new mojom_types.MojomStruct()
715 ..declData = (new mojom_types.DeclarationData()..shortName = 'ContactsServic eGetPhotoParams')
716 ..fields = <mojom_types.StructField>[
717 new mojom_types.StructField()
718 ..declData = (new mojom_types.DeclarationData()..shortName = 'Id')
719 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN T64),
720
721 new mojom_types.StructField()
722 ..declData = (new mojom_types.DeclarationData()..shortName = 'HighResolu tion')
723 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BO OL),
724 ];
725 }
726
618 727
619 class ContactsServiceGetPhotoResponseParams extends bindings.Struct { 728 class ContactsServiceGetPhotoResponseParams extends bindings.Struct {
620 static const List<bindings.StructDataHeader> kVersions = const [ 729 static const List<bindings.StructDataHeader> kVersions = const [
621 const bindings.StructDataHeader(16, 0) 730 const bindings.StructDataHeader(16, 0)
622 ]; 731 ];
623 String photoUrl = null; 732 String photoUrl = null;
624 733
625 ContactsServiceGetPhotoResponseParams() : super(kVersions.last.size); 734 ContactsServiceGetPhotoResponseParams() : super(kVersions.last.size);
626 735
627 static ContactsServiceGetPhotoResponseParams deserialize(bindings.Message mess age) { 736 static ContactsServiceGetPhotoResponseParams deserialize(bindings.Message mess age) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 "photoUrl: $photoUrl" ")"; 784 "photoUrl: $photoUrl" ")";
676 } 785 }
677 786
678 Map toJson() { 787 Map toJson() {
679 Map map = new Map(); 788 Map map = new Map();
680 map["photoUrl"] = photoUrl; 789 map["photoUrl"] = photoUrl;
681 return map; 790 return map;
682 } 791 }
683 } 792 }
684 793
794 mojom_types.MojomStruct _contacts_ContactsService_GetPhoto_ResponseParams__() {
795 return new mojom_types.MojomStruct()
796 ..declData = (new mojom_types.DeclarationData()..shortName = 'ContactsServic eGetPhotoResponseParams')
797 ..fields = <mojom_types.StructField>[
798 new mojom_types.StructField()
799 ..declData = (new mojom_types.DeclarationData()..shortName = 'PhotoUrl')
800 ..type = (new mojom_types.Type()
801 ..stringType = (new mojom_types.StringType()..nullable = true)),
802 ];
803 }
804
805
685 const int kContactsService_getCount_name = 0; 806 const int kContactsService_getCount_name = 0;
686 const int kContactsService_get_name = 1; 807 const int kContactsService_get_name = 1;
687 const int kContactsService_getEmails_name = 2; 808 const int kContactsService_getEmails_name = 2;
688 const int kContactsService_getPhoto_name = 3; 809 const int kContactsService_getPhoto_name = 3;
689 810
690 const String ContactsServiceName = 811 const String ContactsServiceName =
691 'contacts::ContactsService'; 812 'contacts::ContactsService';
692 813
814 mojom_types.MojomInterface _contacts_ContactsService__() {
815 return new mojom_types.MojomInterface()
816 ..declData = (new mojom_types.DeclarationData()..shortName = "ContactsServic e")
817 ..interfaceName = "ContactsService"
818 ..methods = <int, mojom_types.MojomMethod>{
819 kContactsService_getCount_name: new mojom_types.MojomMethod()
820 ..declData = (new mojom_types.DeclarationData()..shortName = "GetCount")
821 ..ordinal = kContactsService_getCount_name
822 ..responseParams = _contacts_ContactsService_GetCount_ResponseParams__() ..parameters = _contacts_ContactsService_GetCount_Params__(),kContactsService_ge t_name: new mojom_types.MojomMethod()
823 ..declData = (new mojom_types.DeclarationData()..shortName = "Get")
824 ..ordinal = kContactsService_get_name
825 ..responseParams = _contacts_ContactsService_Get_ResponseParams__()..par ameters = _contacts_ContactsService_Get_Params__(),kContactsService_getEmails_na me: new mojom_types.MojomMethod()
826 ..declData = (new mojom_types.DeclarationData()..shortName = "GetEmails" )
827 ..ordinal = kContactsService_getEmails_name
828 ..responseParams = _contacts_ContactsService_GetEmails_ResponseParams__( )..parameters = _contacts_ContactsService_GetEmails_Params__(),kContactsService_ getPhoto_name: new mojom_types.MojomMethod()
829 ..declData = (new mojom_types.DeclarationData()..shortName = "GetPhoto")
830 ..ordinal = kContactsService_getPhoto_name
831 ..responseParams = _contacts_ContactsService_GetPhoto_ResponseParams__() ..parameters = _contacts_ContactsService_GetPhoto_Params__(),
832 };
833 }
834
835 class _ContactsServiceServiceDescription extends service_describer.ServiceDescri ption {
836 // Avoid infinite loop by overriding serviceDescription field.
837 final service_describer.ServiceDescription serviceDescription = null;
838 dynamic getTopLevelInterface([Function responseFactory = null]) {
839 return _contacts_ContactsService__();
840 }
841 dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
842 return getAllMojomTypeDefinitions()[typeKey];
843 }
844 dynamic getAllTypeDefinitions([Function responseFactory = null]) {
845 return getAllMojomTypeDefinitions();
846 }
847 }
848
693 abstract class ContactsService { 849 abstract class ContactsService {
694 dynamic getCount(String filter,[Function responseFactory = null]); 850 dynamic getCount(String filter,[Function responseFactory = null]);
695 dynamic get(String filter,int offset,int limit,[Function responseFactory = nul l]); 851 dynamic get(String filter,int offset,int limit,[Function responseFactory = nul l]);
696 dynamic getEmails(int id,[Function responseFactory = null]); 852 dynamic getEmails(int id,[Function responseFactory = null]);
697 dynamic getPhoto(int id,bool highResolution,[Function responseFactory = null]) ; 853 dynamic getPhoto(int id,bool highResolution,[Function responseFactory = null]) ;
698 854
699 } 855 }
700 856
701 857
702 class ContactsServiceProxyImpl extends bindings.Proxy { 858 class ContactsServiceProxyImpl extends bindings.Proxy {
703 ContactsServiceProxyImpl.fromEndpoint( 859 ContactsServiceProxyImpl.fromEndpoint(
704 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 860 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
705 861
706 ContactsServiceProxyImpl.fromHandle(core.MojoHandle handle) : 862 ContactsServiceProxyImpl.fromHandle(core.MojoHandle handle) :
707 super.fromHandle(handle); 863 super.fromHandle(handle);
708 864
709 ContactsServiceProxyImpl.unbound() : super.unbound(); 865 ContactsServiceProxyImpl.unbound() : super.unbound();
710 866
711 static ContactsServiceProxyImpl newFromEndpoint( 867 static ContactsServiceProxyImpl newFromEndpoint(
712 core.MojoMessagePipeEndpoint endpoint) { 868 core.MojoMessagePipeEndpoint endpoint) {
713 assert(endpoint.setDescription("For ContactsServiceProxyImpl")); 869 assert(endpoint.setDescription("For ContactsServiceProxyImpl"));
714 return new ContactsServiceProxyImpl.fromEndpoint(endpoint); 870 return new ContactsServiceProxyImpl.fromEndpoint(endpoint);
715 } 871 }
716 872
717 String get name => ContactsServiceName; 873 String get name => ContactsServiceName;
718 874
875 service_describer.ServiceDescription get serviceDescription =>
876 new _ContactsServiceServiceDescription();
877
719 void handleResponse(bindings.ServiceMessage message) { 878 void handleResponse(bindings.ServiceMessage message) {
720 switch (message.header.type) { 879 switch (message.header.type) {
721 case kContactsService_getCount_name: 880 case kContactsService_getCount_name:
722 var r = ContactsServiceGetCountResponseParams.deserialize( 881 var r = ContactsServiceGetCountResponseParams.deserialize(
723 message.payload); 882 message.payload);
724 if (!message.header.hasRequestId) { 883 if (!message.header.hasRequestId) {
725 proxyError("Expected a message with a valid request Id."); 884 proxyError("Expected a message with a valid request Id.");
726 return; 885 return;
727 } 886 }
728 Completer c = completerMap[message.header.requestId]; 887 Completer c = completerMap[message.header.requestId];
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 assert(_impl == null); 1225 assert(_impl == null);
1067 _impl = d; 1226 _impl = d;
1068 } 1227 }
1069 1228
1070 String toString() { 1229 String toString() {
1071 var superString = super.toString(); 1230 var superString = super.toString();
1072 return "ContactsServiceStub($superString)"; 1231 return "ContactsServiceStub($superString)";
1073 } 1232 }
1074 1233
1075 int get version => 0; 1234 int get version => 0;
1235
1236 service_describer.ServiceDescription get serviceDescription =>
1237 new _ContactsServiceServiceDescription();
1076 } 1238 }
1077 1239
1078 1240
1241
1242
1243
1244
1245
1246
1247 var _MojomDesc__ = _initDescriptions();
1248
1249 Map<String, mojom_types.UserDefinedType> _initDescriptions() {
1250 var map = new Map<String, mojom_types.UserDefinedType>();
1251
1252 map["_contacts_Contact__"] =
1253 new mojom_types.UserDefinedType()
1254 ..structType = _contacts_Contact__();
1255
1256
1257
1258
1259
1260
1261
1262 map["_contacts_ContactsService_GetCount_Params__"] =
1263 new mojom_types.UserDefinedType()
1264 ..structType = _contacts_ContactsService_GetCount_Params__();
1265
1266
1267
1268
1269
1270 map["_contacts_ContactsService_GetCount_ResponseParams__"] =
1271 new mojom_types.UserDefinedType()
1272 ..structType = _contacts_ContactsService_GetCount_ResponseParams__();
1273
1274
1275
1276
1277
1278 map["_contacts_ContactsService_Get_Params__"] =
1279 new mojom_types.UserDefinedType()
1280 ..structType = _contacts_ContactsService_Get_Params__();
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290 map["_contacts_ContactsService_Get_ResponseParams__"] =
1291 new mojom_types.UserDefinedType()
1292 ..structType = _contacts_ContactsService_Get_ResponseParams__();
1293
1294
1295
1296
1297
1298 map["_contacts_ContactsService_GetEmails_Params__"] =
1299 new mojom_types.UserDefinedType()
1300 ..structType = _contacts_ContactsService_GetEmails_Params__();
1301
1302
1303
1304
1305
1306 map["_contacts_ContactsService_GetEmails_ResponseParams__"] =
1307 new mojom_types.UserDefinedType()
1308 ..structType = _contacts_ContactsService_GetEmails_ResponseParams__();
1309
1310
1311
1312
1313
1314 map["_contacts_ContactsService_GetPhoto_Params__"] =
1315 new mojom_types.UserDefinedType()
1316 ..structType = _contacts_ContactsService_GetPhoto_Params__();
1317
1318
1319
1320
1321
1322
1323
1324 map["_contacts_ContactsService_GetPhoto_ResponseParams__"] =
1325 new mojom_types.UserDefinedType()
1326 ..structType = _contacts_ContactsService_GetPhoto_ResponseParams__();
1327
1328
1329
1330
1331
1332 map["_contacts_ContactsService__"] =
1333 new mojom_types.UserDefinedType()
1334 ..interfaceType = _contacts_ContactsService__();
1335
1336 return map;
1337 }
1338
1339 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
1340 return _MojomDesc__;
1341 }
1342
1343
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698