| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 // "*/foo/bar/*=2" would change the logging level for all code in | 47 // "*/foo/bar/*=2" would change the logging level for all code in |
| 48 // source files under a "foo/bar" directory. | 48 // source files under a "foo/bar" directory. |
| 49 const char kVModule[] = "vmodule"; | 49 const char kVModule[] = "vmodule"; |
| 50 | 50 |
| 51 // Will wait for 60 seconds for a debugger to come to attach to the process. | 51 // Will wait for 60 seconds for a debugger to come to attach to the process. |
| 52 const char kWaitForDebugger[] = "wait-for-debugger"; | 52 const char kWaitForDebugger[] = "wait-for-debugger"; |
| 53 | 53 |
| 54 // Sends a pretty-printed version of tracing info to the console. | 54 // Sends a pretty-printed version of tracing info to the console. |
| 55 const char kTraceToConsole[] = "trace-to-console"; | 55 const char kTraceToConsole[] = "trace-to-console"; |
| 56 | 56 |
| 57 // Configure whether chrome://profiler will contain timing information. This |
| 58 // option is enabled by default. A value of "0" will disable profiler timing, |
| 59 // while all other values will enable it. |
| 60 const char kProfilerTiming[] = "profiler-timing"; |
| 61 // Value of the --profiler-timing flag that will disable timing information for |
| 62 // chrome://profiler. |
| 63 const char kProfilerTimingDisabledValue[] = "0"; |
| 64 |
| 57 #if defined(OS_POSIX) | 65 #if defined(OS_POSIX) |
| 58 // Used for turning on Breakpad crash reporting in a debug environment where | 66 // Used for turning on Breakpad crash reporting in a debug environment where |
| 59 // crash reporting is typically compiled but disabled. | 67 // crash reporting is typically compiled but disabled. |
| 60 const char kEnableCrashReporterForTesting[] = | 68 const char kEnableCrashReporterForTesting[] = |
| 61 "enable-crash-reporter-for-testing"; | 69 "enable-crash-reporter-for-testing"; |
| 62 #endif | 70 #endif |
| 63 | 71 |
| 64 #if defined(OS_ANDROID) | 72 #if defined(OS_ANDROID) |
| 65 // Overrides low-end device detection, disabling low-end device optimizations. | 73 // Overrides low-end device detection, disabling low-end device optimizations. |
| 66 const char kDisableLowEndDeviceMode[] = "disable-low-end-device-mode"; | 74 const char kDisableLowEndDeviceMode[] = "disable-low-end-device-mode"; |
| 67 | 75 |
| 68 // Overrides low-end device detection, enabling low-end device optimizations. | 76 // Overrides low-end device detection, enabling low-end device optimizations. |
| 69 const char kEnableLowEndDeviceMode[] = "enable-low-end-device-mode"; | 77 const char kEnableLowEndDeviceMode[] = "enable-low-end-device-mode"; |
| 70 #endif | 78 #endif |
| 71 | 79 |
| 72 } // namespace switches | 80 } // namespace switches |
| OLD | NEW |