chromium/services/tracing/public/cpp/background_tracing/background_tracing_agent_impl_unittest.cc

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

#include "services/tracing/public/cpp/background_tracing/background_tracing_agent_impl.h"
#include <optional>

#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/task/thread_pool.h"

#include "base/metrics/histogram_macros.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/bindings/unique_receiver_set.h"
#include "services/tracing/public/cpp/background_tracing/background_tracing_agent_provider_impl.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace tracing {

class BackgroundTracingAgentClientRecorder
    : public mojom::BackgroundTracingAgentClient {};

class BackgroundTracingAgentImplTest : public testing::Test {};

TEST_F(BackgroundTracingAgentImplTest, TestInitialize) {}

TEST_F(BackgroundTracingAgentImplTest, TestHistogramDoesNotTrigger) {}

TEST_F(BackgroundTracingAgentImplTest, TestHistogramTriggers_ExistingSample) {}

TEST_F(BackgroundTracingAgentImplTest, TestHistogramTriggers_SameThread) {}

TEST_F(BackgroundTracingAgentImplTest, TestHistogramTriggers_CrossThread) {}

}  // namespace tracing