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

Unified Diff: android_webview/native/aw_contents.h

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
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);
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContents.java ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698