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

Unified Diff: content/common/content_switches.cc

Issue 7054080: Add a flag to print the handles held by a child process when it shuts down. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « content/common/content_switches.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_switches.cc
===================================================================
--- content/common/content_switches.cc (revision 88440)
+++ content/common/content_switches.cc (working copy)
@@ -407,6 +407,15 @@
// Causes the process to run as a renderer zygote.
const char kZygoteProcess[] = "zygote";
+#if defined(OS_WIN)
+// Enumerates and prints a child process' most dangerous handles when it
+// is terminated.
+const char kAuditHandles[] = "enable-handle-auditing";
+
+// The same as kAuditHandles except all handles are enumerated.
+const char kAuditAllHandles[] = "enable-handle-auditing-all";
+#endif
+
#if defined(ENABLE_P2P_APIS)
// Enable Pepper and JavaScript P2P API.
const char kEnableP2PApi[] = "enable-p2papi";
« no previous file with comments | « content/common/content_switches.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698