Index: base/debug/stack_trace.h |
diff --git a/base/debug/stack_trace.h b/base/debug/stack_trace.h |
index fb271b6da4a41c70d40ad1851d3040dee6e6a7e3..942aee40c5c7a2e75786a845ee88c6372244fa92 100644 |
--- a/base/debug/stack_trace.h |
+++ b/base/debug/stack_trace.h |
@@ -15,11 +15,6 @@ |
#include <unistd.h> |
#endif |
-#if defined(OS_WIN) |
-struct _EXCEPTION_POINTERS; |
-struct _CONTEXT; |
-#endif |
- |
namespace base { |
namespace debug { |
@@ -50,14 +45,6 @@ class BASE_EXPORT StackTrace { |
// trimmed to |kMaxTraces|. |
StackTrace(const void* const* trace, size_t count); |
-#if defined(OS_WIN) |
- // Creates a stacktrace for an exception. |
- // Note: this function will throw an import not found (StackWalk64) exception |
- // on system without dbghelp 5.1. |
- StackTrace(const _EXCEPTION_POINTERS* exception_pointers); |
- StackTrace(const _CONTEXT* context); |
-#endif |
- |
// Copying and assignment are allowed with the default functions. |
~StackTrace(); |
@@ -78,10 +65,6 @@ class BASE_EXPORT StackTrace { |
std::string ToString() const; |
private: |
-#if defined(OS_WIN) |
- void InitTrace(_CONTEXT* context_record); |
-#endif |
- |
// From http://msdn.microsoft.com/en-us/library/bb204633.aspx, |
// the sum of FramesToSkip and FramesToCapture must be less than 63, |
// so set it to 62. Even if on POSIX it could be a larger value, it usually |