chromium/components/services/heap_profiling/public/cpp/heap_profiling_trace_source_unittest.cc

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

#include "components/services/heap_profiling/public/cpp/heap_profiling_trace_source.h"

#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "services/tracing/public/cpp/perfetto/perfetto_traced_process.h"
#include "services/tracing/public/cpp/perfetto/producer_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/trace_packet.pb.h"

namespace heap_profiling {
namespace {

class HeapProfilingProtoExporterTest : public testing::Test {};

Sample;
std::vector<Sample> MakeTestSamples() {}

TEST_F(HeapProfilingProtoExporterTest, ProfilingDisabled) {}

TEST_F(HeapProfilingProtoExporterTest, ProfilingWithoutTracing) {}

TEST_F(HeapProfilingProtoExporterTest, TraceFormat) {}

}  // namespace
}  // namespace heap_profiling