Index: content/public/common/content_switches.cc |
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc |
index 25213153b31fd20322157d183e206643ec9dfa08..e11e0e2ba9010cc19c3ae3f80841168f9383562d 100644 |
--- a/content/public/common/content_switches.cc |
+++ b/content/public/common/content_switches.cc |
@@ -793,6 +793,19 @@ const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
// Runs the security test for the renderer sandbox. |
const char kTestSandbox[] = "test-sandbox"; |
+// Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
+// can specify the specific trace categories to include (e.g. |
+// --trace-shutdown=base,net) otherwise, all events are recorded. |
+// --trace-shutdown-file can be used to control where the trace log gets stored |
+// to since there is otherwise no way to access the result. |
+const char kTraceShutdown[] = "trace-shutdown"; |
+ |
+// If supplied, sets the file which shutdown tracing will be stored into, if |
+// omitted the default will be used "chrometrace.log" in the current directory. |
+// Has no effect unless --trace-shutdown is also supplied. |
+// Example: --trace-shutdown --trace-shutdown-file=/tmp/trace_event.log |
+const char kTraceShutdownFile[] = "trace-shutdown-file"; |
+ |
// Causes TRACE_EVENT flags to be recorded from startup. Optionally, can |
// specify the specific trace categories to include (e.g. |
// --trace-startup=base,net) otherwise, all events are recorded. Setting this |