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

Unified Diff: android_webview/native/aw_contents.h

Issue 2630473004: 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
Index: android_webview/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index 2afa105daac08909f9457c28ae9279d7d066491f..7077a86df4f1b295313e68d39db0eda395beb746 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -13,6 +13,7 @@
#include <utility>
#include "android_webview/browser/aw_browser_permission_request_delegate.h"
+#include "android_webview/browser/aw_render_process_gone_delegate.h"
#include "android_webview/browser/browser_view_renderer.h"
#include "android_webview/browser/browser_view_renderer_client.h"
#include "android_webview/browser/find_helper.h"
@@ -63,6 +64,7 @@ class AwContents : public FindHelper::Listener,
public BrowserViewRendererClient,
public PermissionRequestHandlerClient,
public AwBrowserPermissionRequestDelegate,
+ public AwRenderProcessGoneDelegate,
public content::WebContentsObserver {
public:
// Returns the AwContents instance associated with |web_contents|, or NULL.
@@ -339,6 +341,11 @@ class AwContents : public FindHelper::Listener,
void DidAttachInterstitialPage() override;
void DidDetachInterstitialPage() override;
+ // AwRenderProcessGoneDelegate overrides
+ void OnRenderProcessGone(int child_process_id) override;
+ bool OnRenderProcessGoneWithDetail(int child_process_id,
+ bool crashed) override;
+
private:
void InitAutofillIfNecessary(bool enabled);

Powered by Google App Engine
This is Rietveld 408576698