#include "chrome/common/profiler/main_thread_stack_sampling_profiler.h"
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/profiler/process_type.h"
#include "base/threading/platform_thread.h"
#include "chrome/common/profiler/process_type.h"
#include "chrome/common/profiler/thread_profiler.h"
#include "components/metrics/call_stacks/call_stack_profile_builder.h"
#include "components/metrics/call_stacks/call_stack_profile_metrics_provider.h"
#include "content/public/common/content_switches.h"
namespace {
std::unique_ptr<ThreadProfiler> CreateThreadProfiler(
const base::ProfilerProcessType process) { … }
}
MainThreadStackSamplingProfiler::MainThreadStackSamplingProfiler() { … }
MainThreadStackSamplingProfiler::~MainThreadStackSamplingProfiler() = default;