OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/base_switches.h" | 5 #include "base/base_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // If the program includes base/debug/debug_on_start_win.h, the process will | 9 // If the program includes base/debug/debug_on_start_win.h, the process will |
10 // (on Windows only) start the JIT system-registered debugger on itself and | 10 // (on Windows only) start the JIT system-registered debugger on itself and |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 // "*/foo/bar/*=2" would change the logging level for all code in | 42 // "*/foo/bar/*=2" would change the logging level for all code in |
43 // source files under a "foo/bar" directory. | 43 // source files under a "foo/bar" directory. |
44 const char kVModule[] = "vmodule"; | 44 const char kVModule[] = "vmodule"; |
45 | 45 |
46 // Will wait for 60 seconds for a debugger to come to attach to the process. | 46 // Will wait for 60 seconds for a debugger to come to attach to the process. |
47 const char kWaitForDebugger[] = "wait-for-debugger"; | 47 const char kWaitForDebugger[] = "wait-for-debugger"; |
48 | 48 |
49 // Sends a pretty-printed version of tracing info to the console. | 49 // Sends a pretty-printed version of tracing info to the console. |
50 const char kTraceToConsole[] = "trace-to-console"; | 50 const char kTraceToConsole[] = "trace-to-console"; |
51 | 51 |
| 52 #if defined(OS_POSIX) |
| 53 // A flag, generated internally for renderer and other helper process command |
| 54 // lines on Linux and Mac. It tells the helper process to enable crash dumping |
| 55 // and reporting, because helpers cannot access the files needed to make this |
| 56 // decision. |
| 57 const char kEnableCrashReporter[] = "enable-crash-reporter"; |
| 58 #endif |
| 59 |
52 } // namespace switches | 60 } // namespace switches |
OLD | NEW |