Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: base/base_switches.cc

Issue 3035062: Revert 55400 - Cleanup in base. This moves the implementation (and a bunch of... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/base_switches.h ('k') | base/multiprocess_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 chrome/common/debug_on_start.h, the process will 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 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. 11 // seconds for the debugger to attach to itself. Then a break point will be hit.
12 const char kDebugOnStart[] = "debug-on-start"; 12 const char kDebugOnStart[] = "debug-on-start";
13 13
14 // Will wait for 60 seconds for a debugger to come to attach to the process.
15 const char kWaitForDebugger[] = "wait-for-debugger";
16
17 // Suppresses all error dialogs when present.
18 const char kNoErrorDialogs[] = "noerrdialogs";
19
14 // Disables the crash reporting. 20 // Disables the crash reporting.
15 const char kDisableBreakpad[] = "disable-breakpad"; 21 const char kDisableBreakpad[] = "disable-breakpad";
16 22
17 // Enable DCHECKs in release mode.
18 const char kEnableDCHECK[] = "enable-dcheck";
19
20 // Generates full memory crash dump. 23 // Generates full memory crash dump.
21 const char kFullMemoryCrashReport[] = "full-memory-crash-report"; 24 const char kFullMemoryCrashReport[] = "full-memory-crash-report";
22 25
23 // Suppresses all error dialogs when present. 26 // The value of this switch determines whether the process is started as a
24 const char kNoErrorDialogs[] = "noerrdialogs"; 27 // renderer or plugin host. If it's empty, it's the browser.
28 const char kProcessType[] = "type";
29
30 // Enable DCHECKs in release mode.
31 const char kEnableDCHECK[] = "enable-dcheck";
25 32
26 // Disable win_util::MessageBox. This is useful when running as part of 33 // Disable win_util::MessageBox. This is useful when running as part of
27 // scripts that do not have a user interface. 34 // scripts that do not have a user interface.
28 const char kNoMessageBox[] = "no-message-box"; 35 const char kNoMessageBox[] = "no-message-box";
29 36
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.
32 const char kTestChildProcess[] = "test-child-process";
33
34 // Will wait for 60 seconds for a debugger to come to attach to the process.
35 const char kWaitForDebugger[] = "wait-for-debugger";
36
37 } // namespace switches 37 } // namespace switches
OLDNEW
« no previous file with comments | « base/base_switches.h ('k') | base/multiprocess_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698