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

Unified Diff: ios/web/public/web_state/global_web_state_observer.h

Issue 2666953003: [ios] Automatically fail any WebTest whose render process crashes. (Closed)
Patch Set: Fix comment. 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 | « ios/web/public/test/web_test.mm ('k') | ios/web/test/web_test_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/web_state/global_web_state_observer.h
diff --git a/ios/web/public/web_state/global_web_state_observer.h b/ios/web/public/web_state/global_web_state_observer.h
index 53c973a20c56dba6cd3742d78e27403f03391250..2df5b560730958dc796f511fe385ae90d9d89b1b 100644
--- a/ios/web/public/web_state/global_web_state_observer.h
+++ b/ios/web/public/web_state/global_web_state_observer.h
@@ -45,6 +45,10 @@ class GlobalWebStateObserver {
virtual void PageLoaded(WebState* web_state,
PageLoadCompletionStatus load_completion_status) {}
+ // Called when the web process is terminated (usually by crashing, though
+ // possibly by other means).
+ virtual void RenderProcessGone(WebState* web_state) {}
+
// Called when |web_state| is being destroyed.
virtual void WebStateDestroyed(WebState* web_state) {}
« no previous file with comments | « ios/web/public/test/web_test.mm ('k') | ios/web/test/web_test_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698