Mike Wittman | 0ff562a | 2024-12-13 17:30:27 | [diff] [blame] | 1 | // Copyright 2024 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef BASE_PROFILER_CORE_UNWINDERS_H_ |
| 6 | #define BASE_PROFILER_CORE_UNWINDERS_H_ |
| 7 | |
| 8 | #include "base/base_export.h" |
| 9 | #include "base/profiler/stack_sampling_profiler.h" |
| 10 | #include "build/build_config.h" |
| 11 | |
| 12 | static_assert( |
| 13 | !BUILDFLAG(IS_ANDROID), |
| 14 | "Android platform is not supported by CreateCoreUnwindersFactory()"); |
| 15 | |
| 16 | namespace base { |
| 17 | |
| 18 | BASE_EXPORT StackSamplingProfiler::UnwindersFactory |
| 19 | CreateCoreUnwindersFactory(); |
| 20 | |
| 21 | } // namespace base |
| 22 | |
| 23 | #endif // BASE_PROFILER_CORE_UNWINDERS_H_ |