Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index 1f5e8362f5250e784ad4357a68929f8aa0edad94..84acb1c2039d555ba44fd7009e5f9fe20376386f 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -563,6 +563,13 @@ class CONTENT_EXPORT ContentBrowserClient { |
// Return NULL to use the default one for the platform to be created. |
virtual LocationProvider* OverrideSystemLocationProvider(); |
+ // Allows an embedder to decide whether a child process should be killed |
+ // if it sends a bad IPC message. |
+ // Apart from testing, it is an incredibly bad idea from a security |
+ // perspective to allow a child process to survive after sending a bad |
+ // message. |
+ virtual bool ShouldKillChildProcessOnBadMessage(); |
+ |
#if defined(OS_POSIX) && !defined(OS_MACOSX) |
// Populates |mappings| with all files that need to be mapped before launching |
// a child process. |