| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #ifndef ERROR_HANDLING_ERROR_HANDLING_H_ | 7 #ifndef ERROR_HANDLING_ERROR_HANDLING_H_ |
| 8 #define ERROR_HANDLING_ERROR_HANDLING_H_ | 8 #define ERROR_HANDLING_ERROR_HANDLING_H_ |
| 9 | 9 |
| 10 #include "error_handling/string_stream.h" | 10 #include "error_handling/string_stream.h" |
| 11 #include "utils/macros.h" | 11 #include "sdk_util/macros.h" |
| 12 | 12 |
| 13 EXTERN_C_BEGIN | 13 EXTERN_C_BEGIN |
| 14 | 14 |
| 15 struct NaClExceptionContext; | 15 struct NaClExceptionContext; |
| 16 | 16 |
| 17 typedef void (*EHRawHandler)(struct NaClExceptionContext* context); | 17 typedef void (*EHRawHandler)(struct NaClExceptionContext* context); |
| 18 typedef void (*EHJsonHandler)(const char* str); | 18 typedef void (*EHJsonHandler)(const char* str); |
| 19 | 19 |
| 20 typedef struct { | 20 typedef struct { |
| 21 uint32_t prog_ctr; | 21 uint32_t prog_ctr; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 | 76 |
| 77 /** Unwind the stack by one frame. | 77 /** Unwind the stack by one frame. |
| 78 * | 78 * |
| 79 * Returns zero once it failes to unwind. | 79 * Returns zero once it failes to unwind. |
| 80 */ | 80 */ |
| 81 int EHUnwindFrame(EHFrame* frame); | 81 int EHUnwindFrame(EHFrame* frame); |
| 82 | 82 |
| 83 EXTERN_C_END | 83 EXTERN_C_END |
| 84 | 84 |
| 85 #endif // ERROR_HANDLING_ERROR_HANDLING_H_ | 85 #endif // ERROR_HANDLING_ERROR_HANDLING_H_ |
| 86 |
| OLD | NEW |