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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 18254010: IPC fuzzer child process component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: replace ShouldKillChildProcessOnBadMessage with --disable-kill-after-bad-ipc Created 7 years, 4 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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 380aa2af72c5514cb2d7b29bf21dbac1b9d9d6fa..5da5ee7a031f11f7787b3daade4e0ac93c770070 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1343,6 +1343,11 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
if (browser_command_line.HasSwitch(switches::kChromeFrame))
command_line->AppendSwitch(switches::kChromeFrame);
+#if defined(ENABLE_IPC_FUZZER)
+ command_line->CopySwitchFrom(browser_command_line,
+ switches::kIpcFuzzerTestcase);
+#endif
+
if (process_type == switches::kRendererProcess) {
base::FilePath user_data_dir =
browser_command_line.GetSwitchValuePath(switches::kUserDataDir);

Powered by Google App Engine
This is Rietveld 408576698