| Index: mojo/dart/packages/mojo_services/lib/tracing/tracing.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/tracing/tracing.mojom.dart b/mojo/dart/packages/mojo_services/lib/tracing/tracing.mojom.dart
|
| index a7c2f5e1e8b2ee308b583ba2fcafc6f2edc896fa..d6a50f40d5d74a8d81dbf721ea108ad9aea6ab6a 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/tracing/tracing.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/tracing/tracing.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;
|
|
|
|
|
|
|
| @@ -85,6 +87,8 @@ class _TraceProviderStartTracingParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _TraceProviderStopTracingParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -143,6 +147,8 @@ class _TraceProviderStopTracingParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _TraceRecorderRecordParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -210,6 +216,8 @@ class _TraceRecorderRecordParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _TraceCollectorStartParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -284,6 +292,8 @@ class _TraceCollectorStartParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _TraceCollectorStopAndFlushParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -341,9 +351,23 @@ class _TraceCollectorStopAndFlushParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _TraceProvider_startTracingName = 0;
|
| const int _TraceProvider_stopTracingName = 1;
|
|
|
| +
|
| +
|
| +class _TraceProviderServiceDescription 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 TraceProvider {
|
| static const String serviceName = "tracing::TraceProvider";
|
| void startTracing(String categories, Object recorder);
|
| @@ -366,6 +390,9 @@ class _TraceProviderProxyImpl extends bindings.Proxy {
|
| return new _TraceProviderProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _TraceProviderServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -523,10 +550,24 @@ class TraceProviderStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _TraceProviderServiceDescription();
|
| }
|
|
|
| const int _TraceRecorder_recordName = 0;
|
|
|
| +
|
| +
|
| +class _TraceRecorderServiceDescription 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 TraceRecorder {
|
| static const String serviceName = null;
|
| void record(String json);
|
| @@ -548,6 +589,9 @@ class _TraceRecorderProxyImpl extends bindings.Proxy {
|
| return new _TraceRecorderProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _TraceRecorderServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -691,11 +735,25 @@ class TraceRecorderStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _TraceRecorderServiceDescription();
|
| }
|
|
|
| const int _TraceCollector_startName = 0;
|
| const int _TraceCollector_stopAndFlushName = 1;
|
|
|
| +
|
| +
|
| +class _TraceCollectorServiceDescription 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 TraceCollector {
|
| static const String serviceName = "tracing::TraceCollector";
|
| void start(core.MojoDataPipeProducer stream, String categories);
|
| @@ -718,6 +776,9 @@ class _TraceCollectorProxyImpl extends bindings.Proxy {
|
| return new _TraceCollectorProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _TraceCollectorServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -875,6 +936,11 @@ class TraceCollectorStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _TraceCollectorServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|