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

Side by Side Diff: mojo/dart/packages/mojo_services/lib/tracing/tracing.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 tracing_mojom; 5 library tracing_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 TraceProviderStartTracingParams extends bindings.Struct { 16 class TraceProviderStartTracingParams 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 String categories = null; 20 String categories = null;
19 Object recorder = null; 21 Object recorder = null;
20 22
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 "categories: $categories" ", " 79 "categories: $categories" ", "
78 "recorder: $recorder" ")"; 80 "recorder: $recorder" ")";
79 } 81 }
80 82
81 Map toJson() { 83 Map toJson() {
82 throw new bindings.MojoCodecError( 84 throw new bindings.MojoCodecError(
83 'Object containing handles cannot be encoded to JSON.'); 85 'Object containing handles cannot be encoded to JSON.');
84 } 86 }
85 } 87 }
86 88
89 mojom_types.MojomStruct _tracing_TraceProvider_StartTracing_Params__() {
90 return new mojom_types.MojomStruct()
91 ..declData = (new mojom_types.DeclarationData()..shortName = 'TraceProviderS tartTracingParams')
92 ..fields = <mojom_types.StructField>[
93 new mojom_types.StructField()
94 ..declData = (new mojom_types.DeclarationData()..shortName = 'Categories ')
95 ..type = (new mojom_types.Type()
96 ..stringType = (new mojom_types.StringType()..nullable = false)),
97
98 new mojom_types.StructField()
99 ..declData = (new mojom_types.DeclarationData()..shortName = 'Recorder')
100 ..type = (new mojom_types.Type()
101 ..typeReference = (new mojom_types.TypeReference()
102
103 ..identifier = '_tracing_TraceRecorder__'
104 ..typeKey = '_tracing_TraceRecorder__'
105 )),
106 ];
107 }
108
87 109
88 class TraceProviderStopTracingParams extends bindings.Struct { 110 class TraceProviderStopTracingParams extends bindings.Struct {
89 static const List<bindings.StructDataHeader> kVersions = const [ 111 static const List<bindings.StructDataHeader> kVersions = const [
90 const bindings.StructDataHeader(8, 0) 112 const bindings.StructDataHeader(8, 0)
91 ]; 113 ];
92 114
93 TraceProviderStopTracingParams() : super(kVersions.last.size); 115 TraceProviderStopTracingParams() : super(kVersions.last.size);
94 116
95 static TraceProviderStopTracingParams deserialize(bindings.Message message) { 117 static TraceProviderStopTracingParams deserialize(bindings.Message message) {
96 var decoder = new bindings.Decoder(message); 118 var decoder = new bindings.Decoder(message);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 String toString() { 157 String toString() {
136 return "TraceProviderStopTracingParams("")"; 158 return "TraceProviderStopTracingParams("")";
137 } 159 }
138 160
139 Map toJson() { 161 Map toJson() {
140 Map map = new Map(); 162 Map map = new Map();
141 return map; 163 return map;
142 } 164 }
143 } 165 }
144 166
167 mojom_types.MojomStruct _tracing_TraceProvider_StopTracing_Params__() {
168 return new mojom_types.MojomStruct()
169 ..declData = (new mojom_types.DeclarationData()..shortName = 'TraceProviderS topTracingParams')
170 ..fields = <mojom_types.StructField>[];
171 }
172
145 173
146 class TraceRecorderRecordParams extends bindings.Struct { 174 class TraceRecorderRecordParams extends bindings.Struct {
147 static const List<bindings.StructDataHeader> kVersions = const [ 175 static const List<bindings.StructDataHeader> kVersions = const [
148 const bindings.StructDataHeader(16, 0) 176 const bindings.StructDataHeader(16, 0)
149 ]; 177 ];
150 String json = null; 178 String json = null;
151 179
152 TraceRecorderRecordParams() : super(kVersions.last.size); 180 TraceRecorderRecordParams() : super(kVersions.last.size);
153 181
154 static TraceRecorderRecordParams deserialize(bindings.Message message) { 182 static TraceRecorderRecordParams deserialize(bindings.Message message) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 "json: $json" ")"; 230 "json: $json" ")";
203 } 231 }
204 232
205 Map toJson() { 233 Map toJson() {
206 Map map = new Map(); 234 Map map = new Map();
207 map["json"] = json; 235 map["json"] = json;
208 return map; 236 return map;
209 } 237 }
210 } 238 }
211 239
240 mojom_types.MojomStruct _tracing_TraceRecorder_Record_Params__() {
241 return new mojom_types.MojomStruct()
242 ..declData = (new mojom_types.DeclarationData()..shortName = 'TraceRecorderR ecordParams')
243 ..fields = <mojom_types.StructField>[
244 new mojom_types.StructField()
245 ..declData = (new mojom_types.DeclarationData()..shortName = 'Json')
246 ..type = (new mojom_types.Type()
247 ..stringType = (new mojom_types.StringType()..nullable = false)),
248 ];
249 }
250
212 251
213 class TraceCollectorStartParams extends bindings.Struct { 252 class TraceCollectorStartParams extends bindings.Struct {
214 static const List<bindings.StructDataHeader> kVersions = const [ 253 static const List<bindings.StructDataHeader> kVersions = const [
215 const bindings.StructDataHeader(24, 0) 254 const bindings.StructDataHeader(24, 0)
216 ]; 255 ];
217 core.MojoDataPipeProducer stream = null; 256 core.MojoDataPipeProducer stream = null;
218 String categories = null; 257 String categories = null;
219 258
220 TraceCollectorStartParams() : super(kVersions.last.size); 259 TraceCollectorStartParams() : super(kVersions.last.size);
221 260
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 "stream: $stream" ", " 315 "stream: $stream" ", "
277 "categories: $categories" ")"; 316 "categories: $categories" ")";
278 } 317 }
279 318
280 Map toJson() { 319 Map toJson() {
281 throw new bindings.MojoCodecError( 320 throw new bindings.MojoCodecError(
282 'Object containing handles cannot be encoded to JSON.'); 321 'Object containing handles cannot be encoded to JSON.');
283 } 322 }
284 } 323 }
285 324
325 mojom_types.MojomStruct _tracing_TraceCollector_Start_Params__() {
326 return new mojom_types.MojomStruct()
327 ..declData = (new mojom_types.DeclarationData()..shortName = 'TraceCollector StartParams')
328 ..fields = <mojom_types.StructField>[
329 new mojom_types.StructField()
330 ..declData = (new mojom_types.DeclarationData()..shortName = 'Stream')
331 ..type = (new mojom_types.Type()
332 ..handleType = (new mojom_types.HandleType()
333 ..kind = mojom_types.HandleTypeKind.DATA_PIPE_PRODUCER
334 ..nullable = false)),
335
336 new mojom_types.StructField()
337 ..declData = (new mojom_types.DeclarationData()..shortName = 'Categories ')
338 ..type = (new mojom_types.Type()
339 ..stringType = (new mojom_types.StringType()..nullable = false)),
340 ];
341 }
342
286 343
287 class TraceCollectorStopAndFlushParams extends bindings.Struct { 344 class TraceCollectorStopAndFlushParams extends bindings.Struct {
288 static const List<bindings.StructDataHeader> kVersions = const [ 345 static const List<bindings.StructDataHeader> kVersions = const [
289 const bindings.StructDataHeader(8, 0) 346 const bindings.StructDataHeader(8, 0)
290 ]; 347 ];
291 348
292 TraceCollectorStopAndFlushParams() : super(kVersions.last.size); 349 TraceCollectorStopAndFlushParams() : super(kVersions.last.size);
293 350
294 static TraceCollectorStopAndFlushParams deserialize(bindings.Message message) { 351 static TraceCollectorStopAndFlushParams deserialize(bindings.Message message) {
295 var decoder = new bindings.Decoder(message); 352 var decoder = new bindings.Decoder(message);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 String toString() { 391 String toString() {
335 return "TraceCollectorStopAndFlushParams("")"; 392 return "TraceCollectorStopAndFlushParams("")";
336 } 393 }
337 394
338 Map toJson() { 395 Map toJson() {
339 Map map = new Map(); 396 Map map = new Map();
340 return map; 397 return map;
341 } 398 }
342 } 399 }
343 400
401 mojom_types.MojomStruct _tracing_TraceCollector_StopAndFlush_Params__() {
402 return new mojom_types.MojomStruct()
403 ..declData = (new mojom_types.DeclarationData()..shortName = 'TraceCollector StopAndFlushParams')
404 ..fields = <mojom_types.StructField>[];
405 }
406
407
344 const int kTraceProvider_startTracing_name = 0; 408 const int kTraceProvider_startTracing_name = 0;
345 const int kTraceProvider_stopTracing_name = 1; 409 const int kTraceProvider_stopTracing_name = 1;
346 410
347 const String TraceProviderName = 411 const String TraceProviderName =
348 'tracing::TraceProvider'; 412 'tracing::TraceProvider';
349 413
414 mojom_types.MojomInterface _tracing_TraceProvider__() {
415 return new mojom_types.MojomInterface()
416 ..declData = (new mojom_types.DeclarationData()..shortName = "TraceProvider" )
417 ..interfaceName = "TraceProvider"
418 ..methods = <int, mojom_types.MojomMethod>{
419 kTraceProvider_startTracing_name: new mojom_types.MojomMethod()
420 ..declData = (new mojom_types.DeclarationData()..shortName = "StartTraci ng")
421 ..ordinal = kTraceProvider_startTracing_name..parameters = _tracing_Trac eProvider_StartTracing_Params__(),kTraceProvider_stopTracing_name: new mojom_typ es.MojomMethod()
422 ..declData = (new mojom_types.DeclarationData()..shortName = "StopTracin g")
423 ..ordinal = kTraceProvider_stopTracing_name..parameters = _tracing_Trace Provider_StopTracing_Params__(),
424 };
425 }
426
427 class _TraceProviderServiceDescription extends service_describer.ServiceDescript ion {
428 // Avoid infinite loop by overriding serviceDescription field.
429 final service_describer.ServiceDescription serviceDescription = null;
430 dynamic getTopLevelInterface([Function responseFactory = null]) {
431 return _tracing_TraceProvider__();
432 }
433 dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
434 return getAllMojomTypeDefinitions()[typeKey];
435 }
436 dynamic getAllTypeDefinitions([Function responseFactory = null]) {
437 return getAllMojomTypeDefinitions();
438 }
439 }
440
350 abstract class TraceProvider { 441 abstract class TraceProvider {
351 void startTracing(String categories, Object recorder); 442 void startTracing(String categories, Object recorder);
352 void stopTracing(); 443 void stopTracing();
353 444
354 } 445 }
355 446
356 447
357 class TraceProviderProxyImpl extends bindings.Proxy { 448 class TraceProviderProxyImpl extends bindings.Proxy {
358 TraceProviderProxyImpl.fromEndpoint( 449 TraceProviderProxyImpl.fromEndpoint(
359 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 450 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
360 451
361 TraceProviderProxyImpl.fromHandle(core.MojoHandle handle) : 452 TraceProviderProxyImpl.fromHandle(core.MojoHandle handle) :
362 super.fromHandle(handle); 453 super.fromHandle(handle);
363 454
364 TraceProviderProxyImpl.unbound() : super.unbound(); 455 TraceProviderProxyImpl.unbound() : super.unbound();
365 456
366 static TraceProviderProxyImpl newFromEndpoint( 457 static TraceProviderProxyImpl newFromEndpoint(
367 core.MojoMessagePipeEndpoint endpoint) { 458 core.MojoMessagePipeEndpoint endpoint) {
368 assert(endpoint.setDescription("For TraceProviderProxyImpl")); 459 assert(endpoint.setDescription("For TraceProviderProxyImpl"));
369 return new TraceProviderProxyImpl.fromEndpoint(endpoint); 460 return new TraceProviderProxyImpl.fromEndpoint(endpoint);
370 } 461 }
371 462
372 String get name => TraceProviderName; 463 String get name => TraceProviderName;
373 464
465 service_describer.ServiceDescription get serviceDescription =>
466 new _TraceProviderServiceDescription();
467
374 void handleResponse(bindings.ServiceMessage message) { 468 void handleResponse(bindings.ServiceMessage message) {
375 switch (message.header.type) { 469 switch (message.header.type) {
376 default: 470 default:
377 proxyError("Unexpected message type: ${message.header.type}"); 471 proxyError("Unexpected message type: ${message.header.type}");
378 close(immediate: true); 472 close(immediate: true);
379 break; 473 break;
380 } 474 }
381 } 475 }
382 476
383 String toString() { 477 String toString() {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 assert(_impl == null); 618 assert(_impl == null);
525 _impl = d; 619 _impl = d;
526 } 620 }
527 621
528 String toString() { 622 String toString() {
529 var superString = super.toString(); 623 var superString = super.toString();
530 return "TraceProviderStub($superString)"; 624 return "TraceProviderStub($superString)";
531 } 625 }
532 626
533 int get version => 0; 627 int get version => 0;
628
629 service_describer.ServiceDescription get serviceDescription =>
630 new _TraceProviderServiceDescription();
534 } 631 }
535 632
536 const int kTraceRecorder_record_name = 0; 633 const int kTraceRecorder_record_name = 0;
537 634
538 const String TraceRecorderName = 635 const String TraceRecorderName =
539 'tracing::TraceRecorder'; 636 'tracing::TraceRecorder';
540 637
638 mojom_types.MojomInterface _tracing_TraceRecorder__() {
639 return new mojom_types.MojomInterface()
640 ..declData = (new mojom_types.DeclarationData()..shortName = "TraceRecorder" )
641 ..interfaceName = "TraceRecorder"
642 ..methods = <int, mojom_types.MojomMethod>{
643 kTraceRecorder_record_name: new mojom_types.MojomMethod()
644 ..declData = (new mojom_types.DeclarationData()..shortName = "Record")
645 ..ordinal = kTraceRecorder_record_name..parameters = _tracing_TraceRecor der_Record_Params__(),
646 };
647 }
648
649 class _TraceRecorderServiceDescription extends service_describer.ServiceDescript ion {
650 // Avoid infinite loop by overriding serviceDescription field.
651 final service_describer.ServiceDescription serviceDescription = null;
652 dynamic getTopLevelInterface([Function responseFactory = null]) {
653 return _tracing_TraceRecorder__();
654 }
655 dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
656 return getAllMojomTypeDefinitions()[typeKey];
657 }
658 dynamic getAllTypeDefinitions([Function responseFactory = null]) {
659 return getAllMojomTypeDefinitions();
660 }
661 }
662
541 abstract class TraceRecorder { 663 abstract class TraceRecorder {
542 void record(String json); 664 void record(String json);
543 665
544 } 666 }
545 667
546 668
547 class TraceRecorderProxyImpl extends bindings.Proxy { 669 class TraceRecorderProxyImpl extends bindings.Proxy {
548 TraceRecorderProxyImpl.fromEndpoint( 670 TraceRecorderProxyImpl.fromEndpoint(
549 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 671 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
550 672
551 TraceRecorderProxyImpl.fromHandle(core.MojoHandle handle) : 673 TraceRecorderProxyImpl.fromHandle(core.MojoHandle handle) :
552 super.fromHandle(handle); 674 super.fromHandle(handle);
553 675
554 TraceRecorderProxyImpl.unbound() : super.unbound(); 676 TraceRecorderProxyImpl.unbound() : super.unbound();
555 677
556 static TraceRecorderProxyImpl newFromEndpoint( 678 static TraceRecorderProxyImpl newFromEndpoint(
557 core.MojoMessagePipeEndpoint endpoint) { 679 core.MojoMessagePipeEndpoint endpoint) {
558 assert(endpoint.setDescription("For TraceRecorderProxyImpl")); 680 assert(endpoint.setDescription("For TraceRecorderProxyImpl"));
559 return new TraceRecorderProxyImpl.fromEndpoint(endpoint); 681 return new TraceRecorderProxyImpl.fromEndpoint(endpoint);
560 } 682 }
561 683
562 String get name => TraceRecorderName; 684 String get name => TraceRecorderName;
563 685
686 service_describer.ServiceDescription get serviceDescription =>
687 new _TraceRecorderServiceDescription();
688
564 void handleResponse(bindings.ServiceMessage message) { 689 void handleResponse(bindings.ServiceMessage message) {
565 switch (message.header.type) { 690 switch (message.header.type) {
566 default: 691 default:
567 proxyError("Unexpected message type: ${message.header.type}"); 692 proxyError("Unexpected message type: ${message.header.type}");
568 close(immediate: true); 693 close(immediate: true);
569 break; 694 break;
570 } 695 }
571 } 696 }
572 697
573 String toString() { 698 String toString() {
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 assert(_impl == null); 824 assert(_impl == null);
700 _impl = d; 825 _impl = d;
701 } 826 }
702 827
703 String toString() { 828 String toString() {
704 var superString = super.toString(); 829 var superString = super.toString();
705 return "TraceRecorderStub($superString)"; 830 return "TraceRecorderStub($superString)";
706 } 831 }
707 832
708 int get version => 0; 833 int get version => 0;
834
835 service_describer.ServiceDescription get serviceDescription =>
836 new _TraceRecorderServiceDescription();
709 } 837 }
710 838
711 const int kTraceCollector_start_name = 0; 839 const int kTraceCollector_start_name = 0;
712 const int kTraceCollector_stopAndFlush_name = 1; 840 const int kTraceCollector_stopAndFlush_name = 1;
713 841
714 const String TraceCollectorName = 842 const String TraceCollectorName =
715 'tracing::TraceCollector'; 843 'tracing::TraceCollector';
716 844
845 mojom_types.MojomInterface _tracing_TraceCollector__() {
846 return new mojom_types.MojomInterface()
847 ..declData = (new mojom_types.DeclarationData()..shortName = "TraceCollector ")
848 ..interfaceName = "TraceCollector"
849 ..methods = <int, mojom_types.MojomMethod>{
850 kTraceCollector_start_name: new mojom_types.MojomMethod()
851 ..declData = (new mojom_types.DeclarationData()..shortName = "Start")
852 ..ordinal = kTraceCollector_start_name..parameters = _tracing_TraceColle ctor_Start_Params__(),kTraceCollector_stopAndFlush_name: new mojom_types.MojomMe thod()
853 ..declData = (new mojom_types.DeclarationData()..shortName = "StopAndFlu sh")
854 ..ordinal = kTraceCollector_stopAndFlush_name..parameters = _tracing_Tra ceCollector_StopAndFlush_Params__(),
855 };
856 }
857
858 class _TraceCollectorServiceDescription extends service_describer.ServiceDescrip tion {
859 // Avoid infinite loop by overriding serviceDescription field.
860 final service_describer.ServiceDescription serviceDescription = null;
861 dynamic getTopLevelInterface([Function responseFactory = null]) {
862 return _tracing_TraceCollector__();
863 }
864 dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
865 return getAllMojomTypeDefinitions()[typeKey];
866 }
867 dynamic getAllTypeDefinitions([Function responseFactory = null]) {
868 return getAllMojomTypeDefinitions();
869 }
870 }
871
717 abstract class TraceCollector { 872 abstract class TraceCollector {
718 void start(core.MojoDataPipeProducer stream, String categories); 873 void start(core.MojoDataPipeProducer stream, String categories);
719 void stopAndFlush(); 874 void stopAndFlush();
720 875
721 } 876 }
722 877
723 878
724 class TraceCollectorProxyImpl extends bindings.Proxy { 879 class TraceCollectorProxyImpl extends bindings.Proxy {
725 TraceCollectorProxyImpl.fromEndpoint( 880 TraceCollectorProxyImpl.fromEndpoint(
726 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint); 881 core.MojoMessagePipeEndpoint endpoint) : super.fromEndpoint(endpoint);
727 882
728 TraceCollectorProxyImpl.fromHandle(core.MojoHandle handle) : 883 TraceCollectorProxyImpl.fromHandle(core.MojoHandle handle) :
729 super.fromHandle(handle); 884 super.fromHandle(handle);
730 885
731 TraceCollectorProxyImpl.unbound() : super.unbound(); 886 TraceCollectorProxyImpl.unbound() : super.unbound();
732 887
733 static TraceCollectorProxyImpl newFromEndpoint( 888 static TraceCollectorProxyImpl newFromEndpoint(
734 core.MojoMessagePipeEndpoint endpoint) { 889 core.MojoMessagePipeEndpoint endpoint) {
735 assert(endpoint.setDescription("For TraceCollectorProxyImpl")); 890 assert(endpoint.setDescription("For TraceCollectorProxyImpl"));
736 return new TraceCollectorProxyImpl.fromEndpoint(endpoint); 891 return new TraceCollectorProxyImpl.fromEndpoint(endpoint);
737 } 892 }
738 893
739 String get name => TraceCollectorName; 894 String get name => TraceCollectorName;
740 895
896 service_describer.ServiceDescription get serviceDescription =>
897 new _TraceCollectorServiceDescription();
898
741 void handleResponse(bindings.ServiceMessage message) { 899 void handleResponse(bindings.ServiceMessage message) {
742 switch (message.header.type) { 900 switch (message.header.type) {
743 default: 901 default:
744 proxyError("Unexpected message type: ${message.header.type}"); 902 proxyError("Unexpected message type: ${message.header.type}");
745 close(immediate: true); 903 close(immediate: true);
746 break; 904 break;
747 } 905 }
748 } 906 }
749 907
750 String toString() { 908 String toString() {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 assert(_impl == null); 1049 assert(_impl == null);
892 _impl = d; 1050 _impl = d;
893 } 1051 }
894 1052
895 String toString() { 1053 String toString() {
896 var superString = super.toString(); 1054 var superString = super.toString();
897 return "TraceCollectorStub($superString)"; 1055 return "TraceCollectorStub($superString)";
898 } 1056 }
899 1057
900 int get version => 0; 1058 int get version => 0;
1059
1060 service_describer.ServiceDescription get serviceDescription =>
1061 new _TraceCollectorServiceDescription();
901 } 1062 }
902 1063
903 1064
1065
1066
1067
1068
1069
1070
1071 var _MojomDesc__ = _initDescriptions();
1072
1073 Map<String, mojom_types.UserDefinedType> _initDescriptions() {
1074 var map = new Map<String, mojom_types.UserDefinedType>();
1075
1076 map["_tracing_TraceProvider_StartTracing_Params__"] =
1077 new mojom_types.UserDefinedType()
1078 ..structType = _tracing_TraceProvider_StartTracing_Params__();
1079
1080
1081
1082
1083 map["_tracing_TraceRecorder__"] =
1084 new mojom_types.UserDefinedType()
1085 ..interfaceType = _tracing_TraceRecorder__();
1086
1087
1088
1089
1090 map["_tracing_TraceProvider_StopTracing_Params__"] =
1091 new mojom_types.UserDefinedType()
1092 ..structType = _tracing_TraceProvider_StopTracing_Params__();
1093
1094
1095
1096 map["_tracing_TraceRecorder_Record_Params__"] =
1097 new mojom_types.UserDefinedType()
1098 ..structType = _tracing_TraceRecorder_Record_Params__();
1099
1100
1101
1102
1103
1104 map["_tracing_TraceCollector_Start_Params__"] =
1105 new mojom_types.UserDefinedType()
1106 ..structType = _tracing_TraceCollector_Start_Params__();
1107
1108
1109
1110
1111
1112
1113
1114 map["_tracing_TraceCollector_StopAndFlush_Params__"] =
1115 new mojom_types.UserDefinedType()
1116 ..structType = _tracing_TraceCollector_StopAndFlush_Params__();
1117
1118
1119
1120 map["_tracing_TraceProvider__"] =
1121 new mojom_types.UserDefinedType()
1122 ..interfaceType = _tracing_TraceProvider__();
1123
1124
1125
1126 map["_tracing_TraceCollector__"] =
1127 new mojom_types.UserDefinedType()
1128 ..interfaceType = _tracing_TraceCollector__();
1129
1130 return map;
1131 }
1132
1133 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
1134 return _MojomDesc__;
1135 }
1136
1137
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698