#include "perfetto/tracing/internal/tracing_backend_fake.h"
#include "perfetto/base/task_runner.h"
#include "perfetto/ext/base/weak_ptr.h"
#include "perfetto/ext/tracing/core/consumer.h"
#include "perfetto/ext/tracing/core/producer.h"
#include "perfetto/ext/tracing/core/trace_writer.h"
#include "perfetto/ext/tracing/core/tracing_service.h"
namespace perfetto {
namespace internal {
namespace {
class UnsupportedProducerEndpoint : public ProducerEndpoint { … };
class UnsupportedConsumerEndpoint : public ConsumerEndpoint { … };
}
TracingBackend* TracingBackendFake::GetInstance() { … }
TracingBackendFake::TracingBackendFake() = default;
std::unique_ptr<ProducerEndpoint> TracingBackendFake::ConnectProducer(
const ConnectProducerArgs& args) { … }
std::unique_ptr<ConsumerEndpoint> TracingBackendFake::ConnectConsumer(
const ConnectConsumerArgs& args) { … }
}
}