blob: d907a3aa0c79e597326062ed783dfa5ab4e7cd91 [file] [log] [blame]
brettw@chromium.org1c8c3be2010-08-18 04:40:11 +09001// Copyright (c) 2010 The Chromium Authors. All rights reserved.
license.botf003cfe2008-08-24 09:55:55 +09002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
initial.commit3f4a7322008-07-27 06:49:38 +09004
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.
evan@chromium.orge3fca692009-10-13 11:07:25 +090012const char kDebugOnStart[] = "debug-on-start";
initial.commit3f4a7322008-07-27 06:49:38 +090013
nsylvain@chromium.org12ec1e82010-08-10 02:32:32 +090014// Disables the crash reporting.
15const char kDisableBreakpad[] = "disable-breakpad";
16
nsylvain@chromium.org12ec1e82010-08-10 02:32:32 +090017// Enable DCHECKs in release mode.
18const char kEnableDCHECK[] = "enable-dcheck";
19
brettw@chromium.org1c8c3be2010-08-18 04:40:11 +090020// 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
abarth@chromium.org362011a2009-07-17 15:11:56 +090026// Disable win_util::MessageBox. This is useful when running as part of
27// scripts that do not have a user interface.
evan@chromium.orge3fca692009-10-13 11:07:25 +090028const char kNoMessageBox[] = "no-message-box";
abarth@chromium.org362011a2009-07-17 15:11:56 +090029
brettw@chromium.org1c8c3be2010-08-18 04:40:11 +090030// 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
akalin@chromium.orgf0ee79c2010-09-30 04:26:36 +090034// 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).
akalin@chromium.org859d7d42010-10-29 09:39:48 +090042//
43// Any pattern containing a forward or backward slash will be tested
44// against the whole pathname and not just the module. E.g.,
45// "*/foo/bar/*=2" would change the logging level for all code in
46// source files under a "foo/bar" directory.
akalin@chromium.orgf0ee79c2010-09-30 04:26:36 +090047const char kVModule[] = "vmodule";
48
brettw@chromium.org1c8c3be2010-08-18 04:40:11 +090049// Will wait for 60 seconds for a debugger to come to attach to the process.
50const char kWaitForDebugger[] = "wait-for-debugger";
51
initial.commit3f4a7322008-07-27 06:49:38 +090052} // namespace switches