#ifndef BASE_PROFILER_NATIVE_UNWINDER_WIN_H_
#define BASE_PROFILER_NATIVE_UNWINDER_WIN_H_
#include <vector>
#include "base/profiler/unwinder.h"
namespace base {
class NativeUnwinderWin : public Unwinder {
public:
NativeUnwinderWin() = default;
NativeUnwinderWin(const NativeUnwinderWin&) = delete;
NativeUnwinderWin& operator=(const NativeUnwinderWin&) = delete;
bool CanUnwindFrom(const Frame& current_frame) const override;
UnwindResult TryUnwind(RegisterContext* thread_context,
uintptr_t stack_top,
std::vector<Frame>* stack) override;
};
}
#endif