Nagram/TMessagesProj/jni/webrtc/base/profiler/stack_sampler_ios.cc

27 lines
662 B
C++
Raw Normal View History

2020-08-14 16:58:22 +00:00
// 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,
std::unique_ptr<Unwinder> native_unwinder) {
return nullptr;
}
// static
size_t StackSampler::GetStackBufferSize() {
return 0;
}
} // namespace base