base_switches.cc revision c7f5f8508d98d5952d42ed7648c2a8f30a4da156
1// Copyright (c) 2006-2008 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// Will wait for 60 seconds for a debugger to come to attach to the process.
15const char kWaitForDebugger[]               = "wait-for-debugger";
16
17// Suppresses all error dialogs when present.
18const char kNoErrorDialogs[]                = "noerrdialogs";
19
20// Disables the crash reporting.
21const char kDisableBreakpad[]               = "disable-breakpad";
22
23// Generates full memory crash dump.
24const char kFullMemoryCrashReport[]         = "full-memory-crash-report";
25
26// The value of this switch determines whether the process is started as a
27// renderer or plugin host.  If it's empty, it's the browser.
28const char kProcessType[]                   = "type";
29
30// Enable DCHECKs in release mode.
31const char kEnableDCHECK[]                  = "enable-dcheck";
32
33// Disable win_util::MessageBox.  This is useful when running as part of
34// scripts that do not have a user interface.
35const char kNoMessageBox[]                  = "no-message-box";
36
37}  // namespace switches
38