Chromium Code Reviews| Index: client/crashpad_info.h |
| diff --git a/client/crashpad_info.h b/client/crashpad_info.h |
| index 5ce9fb8e8fd97ec29fdc3d393b48fe9643846485..0322d9784c11d5557e5f7e43137fd1b6553ccf58 100644 |
| --- a/client/crashpad_info.h |
| +++ b/client/crashpad_info.h |
| @@ -19,9 +19,14 @@ |
| #include <stdint.h> |
| +#include "build/build_config.h" |
| #include "client/simple_string_dictionary.h" |
| #include "util/misc/tri_state.h" |
| +#if defined(OS_WIN) |
| +#include "util/win/address_types.h" |
| +#endif // OS_WIN |
| + |
| namespace crashpad { |
| //! \brief A structure that can be used by a Crashpad-enabled program to |
| @@ -93,6 +98,12 @@ struct CrashpadInfo { |
| system_crash_reporter_forwarding_ = system_crash_reporter_forwarding; |
| } |
| +#if defined(OS_WIN) |
| + void set_exception_pointers(WinVMAddress exception_pointers) { |
| + exception_pointers_ = exception_pointers; |
| + } |
| +#endif // OS_WIN |
| + |
| enum : uint32_t { |
| kSignature = 'CPad', |
| }; |
| @@ -116,6 +127,10 @@ struct CrashpadInfo { |
| uint16_t padding_0_; |
| SimpleStringDictionary* simple_annotations_; // weak |
| +#if defined(OS_WIN) |
| + WinVMAddress exception_pointers_; |
|
Mark Mentovai
2015/08/13 13:38:53
Since this always points to the local address spac
scottmg
2015/08/13 22:43:22
Done.
|
| +#endif // OS_WIN |
| + |
| #if defined(__clang__) |
| #pragma clang diagnostic pop |
| #endif |