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

Side by Side Diff: base/base_switches.cc

Issue 8467028: Enable DVLOG on non official release build based on the parameter passed for InitLogging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 9 years, 1 month 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/logging.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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
11 // will wait for 60 seconds for the debugger to attach to itself. Then a break 11 // will wait for 60 seconds for the debugger to attach to itself. Then a break
12 // point will be hit. 12 // point will be hit.
13 const char kDebugOnStart[] = "debug-on-start"; 13 const char kDebugOnStart[] = "debug-on-start";
14 14
15 // Disables the crash reporting. 15 // Disables the crash reporting.
16 const char kDisableBreakpad[] = "disable-breakpad"; 16 const char kDisableBreakpad[] = "disable-breakpad";
17 17
18 // Enable DCHECKs in release mode. 18 // Enable DCHECKs in release mode.
19 const char kEnableDCHECK[] = "enable-dcheck"; 19 const char kEnableDCHECK[] = "enable-dcheck";
20 20
21 // Enable DLOG, DVLOG in release mode.
22 const char kEnableDLOG[] = "enable-dlog";
23
21 // Generates full memory crash dump. 24 // Generates full memory crash dump.
22 const char kFullMemoryCrashReport[] = "full-memory-crash-report"; 25 const char kFullMemoryCrashReport[] = "full-memory-crash-report";
23 26
24 // Suppresses all error dialogs when present. 27 // Suppresses all error dialogs when present.
25 const char kNoErrorDialogs[] = "noerrdialogs"; 28 const char kNoErrorDialogs[] = "noerrdialogs";
26 29
27 // Disable ui::MessageBox. This is useful when running as part of scripts that 30 // Disable ui::MessageBox. This is useful when running as part of scripts that
28 // do not have a user interface. 31 // do not have a user interface.
29 const char kNoMessageBox[] = "no-message-box"; 32 const char kNoMessageBox[] = "no-message-box";
30 33
(...skipping 13 matching lines...) Expand all
44 // Any pattern containing a forward or backward slash will be tested 47 // Any pattern containing a forward or backward slash will be tested
45 // against the whole pathname and not just the module. E.g., 48 // against the whole pathname and not just the module. E.g.,
46 // "*/foo/bar/*=2" would change the logging level for all code in 49 // "*/foo/bar/*=2" would change the logging level for all code in
47 // source files under a "foo/bar" directory. 50 // source files under a "foo/bar" directory.
48 const char kVModule[] = "vmodule"; 51 const char kVModule[] = "vmodule";
49 52
50 // Will wait for 60 seconds for a debugger to come to attach to the process. 53 // Will wait for 60 seconds for a debugger to come to attach to the process.
51 const char kWaitForDebugger[] = "wait-for-debugger"; 54 const char kWaitForDebugger[] = "wait-for-debugger";
52 55
53 } // namespace switches 56 } // namespace switches
OLDNEW
« no previous file with comments | « base/base_switches.h ('k') | base/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698