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

Unified Diff: content/public/browser/content_browser_client.h

Issue 18254010: IPC fuzzer child process component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unnecessary include Created 7 years, 5 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: 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 f7a4d20e42889f57faa2e5d2b419b3fdded4476b..ada898dece2f07f12735fa59d411587f999350a0 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -576,6 +576,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.

Powered by Google App Engine
This is Rietveld 408576698