// 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. #ifndef CHROME_COMMON_PROFILER_THREAD_PROFILER_CONFIGURATION_H_ #define CHROME_COMMON_PROFILER_THREAD_PROFILER_CONFIGURATION_H_ #include <initializer_list> #include <optional> #include <string> #include "base/no_destructor.h" #include "base/profiler/process_type.h" #include "base/profiler/stack_sampling_profiler.h" #include "third_party/abseil-cpp/absl/types/variant.h" namespace base { class CommandLine; } // namespace base class ThreadProfilerPlatformConfiguration; // ThreadProfilerConfiguration chooses a configuration for the enable state of // the stack sampling profiler across all processes. This configuration is // determined once at browser process startup. Configurations for child // processes are communicated via command line arguments. class ThreadProfilerConfiguration { … }; #endif // CHROME_COMMON_PROFILER_THREAD_PROFILER_CONFIGURATION_H_