summaryrefslogtreecommitdiff
path: root/chromium/base/profiler/stack_sampler_ios.cc
blob: 2ea34c8a83c35e6a090b79269d7ec2616e3339f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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,
    UnwindersFactory core_unwinders_factory,
    RepeatingClosure record_sample_callback,
    StackSamplerTestDelegate* test_delegate) {
  return nullptr;
}

// static
size_t StackSampler::GetStackBufferSize() {
  return 0;
}

}  // namespace base