summaryrefslogtreecommitdiff
path: root/chromium/base/profiler/stack_sampler_ios.cc
blob: 99e68cecc2df3afc8b42947d1fff060c7e3eef1b (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
// 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,
    std::vector<std::unique_ptr<Unwinder>> core_unwinders,
    StackSamplerTestDelegate* test_delegate) {
  return nullptr;
}

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

}  // namespace base