chromium/chrome/test/base/tracing.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/test/base/tracing.h"

#include <memory>
#include <utility>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/singleton.h"
#include "base/strings/string_util.h"
#include "base/timer/timer.h"
#include "base/trace_event/trace_event.h"
#include "base/values.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/tracing_controller.h"
#include "content/public/test/test_utils.h"
#include "services/tracing/public/mojom/constants.mojom.h"

namespace {

BrowserThread;

class StringTraceEndpoint
    : public content::TracingController::TraceDataEndpoint {};

class InProcessTraceController {};

}  // namespace

namespace tracing {

bool BeginTracing(const std::string& category_patterns) {}

bool BeginTracingWithTraceConfig(
    const base::trace_event::TraceConfig& trace_config) {}

bool BeginTracingWithTraceConfig(
    const base::trace_event::TraceConfig& trace_config,
    tracing::StartTracingDoneCallback start_tracing_done_callback) {}

bool EndTracing(std::string* json_trace_output) {}

}  // namespace tracing