OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include "base/macros.h" |
5 #include "base/profiler/win32_stack_frame_unwinder.h" | 6 #include "base/profiler/win32_stack_frame_unwinder.h" |
6 | 7 |
7 #include <windows.h> | 8 #include <windows.h> |
8 #include <utility> | 9 #include <utility> |
9 | 10 |
10 namespace base { | 11 namespace base { |
11 | 12 |
12 // Win32UnwindFunctions ------------------------------------------------------- | 13 // Win32UnwindFunctions ------------------------------------------------------- |
13 | 14 |
14 const HMODULE ModuleHandleTraits::kNonNullModuleForTesting = | 15 const HMODULE ModuleHandleTraits::kNonNullModuleForTesting = |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 return false; | 176 return false; |
176 #endif | 177 #endif |
177 } | 178 } |
178 | 179 |
179 Win32StackFrameUnwinder::Win32StackFrameUnwinder( | 180 Win32StackFrameUnwinder::Win32StackFrameUnwinder( |
180 scoped_ptr<UnwindFunctions> unwind_functions) | 181 scoped_ptr<UnwindFunctions> unwind_functions) |
181 : at_top_frame_(true), | 182 : at_top_frame_(true), |
182 unwind_functions_(std::move(unwind_functions)) {} | 183 unwind_functions_(std::move(unwind_functions)) {} |
183 | 184 |
184 } // namespace base | 185 } // namespace base |
OLD | NEW |