base_switches.cc revision 3345a6884c488ff3a535c2c9acdd33d74b37e311
1// Copyright (c) 2010 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "base/base_switches.h" 6 7namespace switches { 8 9// If the program includes chrome/common/debug_on_start.h, the process will 10// start the JIT system-registered debugger on itself and will wait for 60 11// seconds for the debugger to attach to itself. Then a break point will be hit. 12const char kDebugOnStart[] = "debug-on-start"; 13 14// Disables the crash reporting. 15const char kDisableBreakpad[] = "disable-breakpad"; 16 17// Enable DCHECKs in release mode. 18const char kEnableDCHECK[] = "enable-dcheck"; 19 20// Generates full memory crash dump. 21const char kFullMemoryCrashReport[] = "full-memory-crash-report"; 22 23// Suppresses all error dialogs when present. 24const char kNoErrorDialogs[] = "noerrdialogs"; 25 26// Disable win_util::MessageBox. This is useful when running as part of 27// scripts that do not have a user interface. 28const char kNoMessageBox[] = "no-message-box"; 29 30// When running certain tests that spawn child processes, this switch indicates 31// to the test framework that the current process is a child process. 32const char kTestChildProcess[] = "test-child-process"; 33 34// Gives the default maximal active V-logging level; 0 is the default. 35// Normally positive values are used for V-logging levels. 36const char kV[] = "v"; 37 38// Gives the per-module maximal V-logging levels to override the value 39// given by --v. E.g. "my_module=2,foo*=3" would change the logging 40// level for all code in source files "my_module.*" and "foo*.*" 41// ("-inl" suffixes are also disregarded for this matching). 42const char kVModule[] = "vmodule"; 43 44// Will wait for 60 seconds for a debugger to come to attach to the process. 45const char kWaitForDebugger[] = "wait-for-debugger"; 46 47} // namespace switches 48