| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef BASE_DEBUG_STACK_TRACE_H_ | 5 #ifndef BASE_DEBUG_STACK_TRACE_H_ |
| 6 #define BASE_DEBUG_STACK_TRACE_H_ | 6 #define BASE_DEBUG_STACK_TRACE_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <iosfwd> | 8 #include <iosfwd> |
| 10 #include <string> | 9 #include <string> |
| 11 | 10 |
| 12 #include "base/base_export.h" | 11 #include "base/base_export.h" |
| 13 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 14 | 13 |
| 15 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
| 16 struct _EXCEPTION_POINTERS; | 15 struct _EXCEPTION_POINTERS; |
| 17 #endif | 16 #endif |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 static const int kMaxTraces = 62; | 63 static const int kMaxTraces = 62; |
| 65 | 64 |
| 66 void* trace_[kMaxTraces]; | 65 void* trace_[kMaxTraces]; |
| 67 int count_; | 66 int count_; |
| 68 }; | 67 }; |
| 69 | 68 |
| 70 } // namespace debug | 69 } // namespace debug |
| 71 } // namespace base | 70 } // namespace base |
| 72 | 71 |
| 73 #endif // BASE_DEBUG_STACK_TRACE_H_ | 72 #endif // BASE_DEBUG_STACK_TRACE_H_ |
| OLD | NEW |