Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: base/android/java_exception_reporter.h

Issue 2687193003: android: Report child exception by crashing (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « base/android/java/src/org/chromium/base/JavaExceptionReporter.java ('k') | base/android/java_exception_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698