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

Side by Side Diff: base/base_switches.cc

Issue 542893002: Add trace-to-file support for base::TestSuite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded include Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Disables the crash reporting. 9 // Disables the crash reporting.
10 const char kDisableBreakpad[] = "disable-breakpad"; 10 const char kDisableBreakpad[] = "disable-breakpad";
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // "*/foo/bar/*=2" would change the logging level for all code in 43 // "*/foo/bar/*=2" would change the logging level for all code in
44 // source files under a "foo/bar" directory. 44 // source files under a "foo/bar" directory.
45 const char kVModule[] = "vmodule"; 45 const char kVModule[] = "vmodule";
46 46
47 // Will wait for 60 seconds for a debugger to come to attach to the process. 47 // Will wait for 60 seconds for a debugger to come to attach to the process.
48 const char kWaitForDebugger[] = "wait-for-debugger"; 48 const char kWaitForDebugger[] = "wait-for-debugger";
49 49
50 // Sends a pretty-printed version of tracing info to the console. 50 // Sends a pretty-printed version of tracing info to the console.
51 const char kTraceToConsole[] = "trace-to-console"; 51 const char kTraceToConsole[] = "trace-to-console";
52 52
53 // Sends trace events from these categories to a file.
54 // --trace-to-file on its own sends to default categories.
55 const char kTraceToFile[] = "trace-to-file";
56
57 // Specifies the file name for --trace-to-file. If unspecified, it will
58 // go to a default file name.
59 const char kTraceToFileName[] = "trace-to-file-name";
60
53 // Configure whether chrome://profiler will contain timing information. This 61 // Configure whether chrome://profiler will contain timing information. This
54 // option is enabled by default. A value of "0" will disable profiler timing, 62 // option is enabled by default. A value of "0" will disable profiler timing,
55 // while all other values will enable it. 63 // while all other values will enable it.
56 const char kProfilerTiming[] = "profiler-timing"; 64 const char kProfilerTiming[] = "profiler-timing";
57 // Value of the --profiler-timing flag that will disable timing information for 65 // Value of the --profiler-timing flag that will disable timing information for
58 // chrome://profiler. 66 // chrome://profiler.
59 const char kProfilerTimingDisabledValue[] = "0"; 67 const char kProfilerTimingDisabledValue[] = "0";
60 68
61 #if defined(OS_POSIX) 69 #if defined(OS_POSIX)
62 // Used for turning on Breakpad crash reporting in a debug environment where 70 // Used for turning on Breakpad crash reporting in a debug environment where
63 // crash reporting is typically compiled but disabled. 71 // crash reporting is typically compiled but disabled.
64 const char kEnableCrashReporterForTesting[] = 72 const char kEnableCrashReporterForTesting[] =
65 "enable-crash-reporter-for-testing"; 73 "enable-crash-reporter-for-testing";
66 #endif 74 #endif
67 75
68 } // namespace switches 76 } // namespace switches
OLDNEW
« no previous file with comments | « base/base_switches.h ('k') | base/test/BUILD.gn » ('j') | base/test/trace_to_file.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698