OLD | NEW |
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 #include "build/build_config.h" | 6 #include "build/build_config.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Disables the crash reporting. | 10 // Disables the crash reporting. |
(...skipping 28 matching lines...) Expand all Loading... |
39 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details. | 39 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details. |
40 const char kForceFieldTrials[] = "force-fieldtrials"; | 40 const char kForceFieldTrials[] = "force-fieldtrials"; |
41 | 41 |
42 // Suppresses all error dialogs when present. | 42 // Suppresses all error dialogs when present. |
43 const char kNoErrorDialogs[] = "noerrdialogs"; | 43 const char kNoErrorDialogs[] = "noerrdialogs"; |
44 | 44 |
45 // When running certain tests that spawn child processes, this switch indicates | 45 // When running certain tests that spawn child processes, this switch indicates |
46 // to the test framework that the current process is a child process. | 46 // to the test framework that the current process is a child process. |
47 const char kTestChildProcess[] = "test-child-process"; | 47 const char kTestChildProcess[] = "test-child-process"; |
48 | 48 |
| 49 // When running certain tests that spawn child processes, this switch indicates |
| 50 // to the test framework that the current process should not initialize ICU to |
| 51 // avoid creating any scoped handles too early in startup. |
| 52 const char kTestDoNotInitializeIcu[] = "test-do-not-initialize-icu"; |
| 53 |
49 // Gives the default maximal active V-logging level; 0 is the default. | 54 // Gives the default maximal active V-logging level; 0 is the default. |
50 // Normally positive values are used for V-logging levels. | 55 // Normally positive values are used for V-logging levels. |
51 const char kV[] = "v"; | 56 const char kV[] = "v"; |
52 | 57 |
53 // Gives the per-module maximal V-logging levels to override the value | 58 // Gives the per-module maximal V-logging levels to override the value |
54 // given by --v. E.g. "my_module=2,foo*=3" would change the logging | 59 // given by --v. E.g. "my_module=2,foo*=3" would change the logging |
55 // level for all code in source files "my_module.*" and "foo*.*" | 60 // level for all code in source files "my_module.*" and "foo*.*" |
56 // ("-inl" suffixes are also disregarded for this matching). | 61 // ("-inl" suffixes are also disregarded for this matching). |
57 // | 62 // |
58 // Any pattern containing a forward or backward slash will be tested | 63 // Any pattern containing a forward or backward slash will be tested |
(...skipping 27 matching lines...) Expand all Loading... |
86 #endif | 91 #endif |
87 | 92 |
88 #if defined(OS_POSIX) | 93 #if defined(OS_POSIX) |
89 // Used for turning on Breakpad crash reporting in a debug environment where | 94 // Used for turning on Breakpad crash reporting in a debug environment where |
90 // crash reporting is typically compiled but disabled. | 95 // crash reporting is typically compiled but disabled. |
91 const char kEnableCrashReporterForTesting[] = | 96 const char kEnableCrashReporterForTesting[] = |
92 "enable-crash-reporter-for-testing"; | 97 "enable-crash-reporter-for-testing"; |
93 #endif | 98 #endif |
94 | 99 |
95 } // namespace switches | 100 } // namespace switches |
OLD | NEW |