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

Unified Diff: content/public/common/content_switches.cc

Issue 9936002: Added code so renderer would cleanly exit. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased again. Created 8 years, 8 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/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 445cb90f8b6a9b0485f380325670137a8a7c61a5..952f259998bada9d3fc88fa9e3f5fed91963afde 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -517,6 +517,11 @@ const char kRemoteDebuggingPort[] = "remote-debugging-port";
// Causes the renderer process to throw an assertion on launch.
const char kRendererAssertTest[] = "renderer-assert-test";
+#if defined(OS_POSIX)
+// Causes the renderer process to cleanly exit via calling exit().
+const char kRendererCleanExit[] = "renderer-clean-exit";
Markus (顧孟勤) 2012/04/09 23:45:46 Maybe fix the indentation of the "=". All the othe
asharif1 2012/04/10 03:08:00 Done.
+#endif
+
// On POSIX only: the contents of this flag are prepended to the renderer
// command line. Useful values might be "valgrind" or "xterm -e gdb --args".
const char kRendererCmdPrefix[] = "renderer-cmd-prefix";

Powered by Google App Engine
This is Rietveld 408576698