Index: base/android/java_exception_reporter.h |
diff --git a/base/android/java_exception_reporter.h b/base/android/java_exception_reporter.h |
index ae34a9ddb5aa3fcab5302c74baa55f6f62bd0788..8f5f2e96b05a6e34fa3ab2d4699aefb68158abcc 100644 |
--- a/base/android/java_exception_reporter.h |
+++ b/base/android/java_exception_reporter.h |
@@ -15,6 +15,11 @@ namespace android { |
// Install the exception handler. This should only be called once per process. |
BASE_EXPORT void InitJavaExceptionReporter(); |
+// Same as above except the handler ensures child process exists immediately |
+// after an unhandled exception. This is used for child processes because |
+// DumpWithoutCrashing does not work for child processes on Android. |
+BASE_EXPORT void InitJavaExceptionReporterForChildProcess(); |
+ |
bool RegisterJavaExceptionReporterJni(JNIEnv* env); |
} // namespace android |