summaryrefslogtreecommitdiff
path: root/chromium/base/profiler/native_unwinder.h
blob: f26c5ad2b6ff42a4947fb0e2478398514090a2c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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.

#ifndef BASE_PROFILER_NATIVE_UNWINDER_H_
#define BASE_PROFILER_NATIVE_UNWINDER_H_

#include <memory>

namespace base {

class ModuleCache;
class Unwinder;

// Creates the native unwinder for the platform.
std::unique_ptr<Unwinder> CreateNativeUnwinder(ModuleCache* module_cache);

}  // namespace base

#endif  // BASE_PROFILER_NATIVE_UNWINDER_H_