| // Copyright 2019 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Placeholder functions for the StackSampler on iOS, which is not currently |
| // supported. |
| |
| #include "base/profiler/stack_sampler.h" |
| |
| namespace base { |
| |
| // static |
| std::unique_ptr<StackSampler> StackSampler::Create( |
| SamplingProfilerThreadToken thread_token, |
| ModuleCache* module_cache, |
| StackSamplerTestDelegate* test_delegate) { |
| return nullptr; |
| } |
| |
| // static |
| size_t StackSampler::GetStackBufferSize() { |
| return 0; |
| } |
| |
| } // namespace base |