#include "test_trace_processor_impl.h"
#include <sstream>
#include "third_party/perfetto/include/perfetto/trace_processor/trace_processor.h"
namespace base::test {
QueryResultOrError::QueryResultOrError(const QueryResult& result)
: … { … }
QueryResultOrError::QueryResultOrError(const std::string& error)
: … { … }
QueryResultOrError::~QueryResultOrError() = default;
TestTraceProcessorImpl::TestTraceProcessorImpl() { … }
TestTraceProcessorImpl::~TestTraceProcessorImpl() = default;
TestTraceProcessorImpl::TestTraceProcessorImpl(TestTraceProcessorImpl&& other) =
default;
TestTraceProcessorImpl& TestTraceProcessorImpl::operator=(
TestTraceProcessorImpl&& other) = default;
QueryResultOrError TestTraceProcessorImpl::ExecuteQuery(
const std::string& sql) const { … }
absl::Status TestTraceProcessorImpl::ParseTrace(
const std::vector<char>& raw_trace) { … }
absl::Status TestTraceProcessorImpl::OverrideSqlModule(
const std::string& module_name,
const TestTraceProcessorImpl::PerfettoSQLModule& module) { … }
}