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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 2651743006: Implement Crash Handle API (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « android_webview/browser/aw_render_process_gone_delegate.h ('k') | android_webview/native/aw_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 3c789da95b4b031ec0f82e0a5e042fb2bc06d3d4..6e40ae76fc1aafd9a6c84cd6c160741cbf707c44 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -1157,6 +1157,16 @@ public class AwContents implements SmartClipProvider, PostMessageSender.PostMess
}
}
+ @CalledByNative
+ private void onRenderProcessGone(int childProcessID) {
+ }
+
+ @CalledByNative
+ private boolean onRenderProcessGoneDetail(int childProcessID, boolean crashed) {
+ if (isDestroyed(NO_WARN)) return false;
+ return mContentsClient.onRenderProcessGone(new AwRenderProcessGoneDetail(crashed));
+ }
+
/**
* Destroys this object and deletes its native counterpart.
*/
« no previous file with comments | « android_webview/browser/aw_render_process_gone_delegate.h ('k') | android_webview/native/aw_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698