Index: android_webview/native/aw_contents.h |
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h |
index a51c450d3e9cb867cb2da62d19c99e4561bc922c..761a723afc821625d339d714e3044c3dd1099f72 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/aw_safe_browsing_ui_manager.h" |
#include "android_webview/browser/browser_view_renderer.h" |
#include "android_webview/browser/browser_view_renderer_client.h" |
@@ -64,6 +65,7 @@ class AwContents : public FindHelper::Listener, |
public BrowserViewRendererClient, |
public PermissionRequestHandlerClient, |
public AwBrowserPermissionRequestDelegate, |
+ public AwRenderProcessGoneDelegate, |
public content::WebContentsObserver, |
public AwSafeBrowsingUIManager::UIManagerClient { |
public: |
@@ -344,6 +346,10 @@ class AwContents : public FindHelper::Listener, |
// AwSafeBrowsingUIManager::UIManagerClient implementation |
bool CanShowInterstitial() override; |
+ // AwRenderProcessGoneDelegate overrides |
+ void OnRenderProcessGone(int child_process_id) override; |
+ bool OnRenderProcessGoneDetail(int child_process_id, bool crashed) override; |
+ |
private: |
void InitAutofillIfNecessary(bool enabled); |