| OLD | NEW |
| 1 /* | 1 /* 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 3 * found in the LICENSE file. */ |
| 5 */ | |
| 6 | |
| 7 | 4 |
| 8 #include <assert.h> | 5 #include <assert.h> |
| 9 #include <inttypes.h> | 6 #include <inttypes.h> |
| 10 #include <pthread.h> | 7 #include <pthread.h> |
| 11 #include <stdio.h> | 8 #include <stdio.h> |
| 12 #include <stdlib.h> | 9 #include <stdlib.h> |
| 13 #include <string.h> | 10 #include <string.h> |
| 14 #include <sys/mman.h> | 11 #include <sys/mman.h> |
| 15 #include <unistd.h> | 12 #include <unistd.h> |
| 16 | 13 |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 void EHRequestExceptionsJson(EHJsonHandler callback) { | 253 void EHRequestExceptionsJson(EHJsonHandler callback) { |
| 257 if (NULL == callback) return; | 254 if (NULL == callback) return; |
| 258 | 255 |
| 259 EHRequestExceptionsRaw(EHDefaultJsonHandler); | 256 EHRequestExceptionsRaw(EHDefaultJsonHandler); |
| 260 if (s_eh_exception_enabled) s_eh_json_callback = callback; | 257 if (s_eh_exception_enabled) s_eh_json_callback = callback; |
| 261 } | 258 } |
| 262 | 259 |
| 263 | 260 |
| 264 int EHHanderInstalled() { | 261 int EHHanderInstalled() { |
| 265 return s_eh_exception_enabled; | 262 return s_eh_exception_enabled; |
| 266 } | 263 } |
| OLD | NEW |