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 | 7 |
7 namespace switches { | 8 namespace switches { |
8 | 9 |
9 // Disables the crash reporting. | 10 // Disables the crash reporting. |
10 const char kDisableBreakpad[] = "disable-breakpad"; | 11 const char kDisableBreakpad[] = "disable-breakpad"; |
11 | 12 |
12 // Indicates that crash reporting should be enabled. On platforms where helper | 13 // Indicates that crash reporting should be enabled. On platforms where helper |
13 // processes cannot access to files needed to make this decision, this flag is | 14 // processes cannot access to files needed to make this decision, this flag is |
14 // generated internally. | 15 // generated internally. |
15 const char kEnableCrashReporter[] = "enable-crash-reporter"; | 16 const char kEnableCrashReporter[] = "enable-crash-reporter"; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 #endif | 86 #endif |
86 | 87 |
87 #if defined(OS_POSIX) | 88 #if defined(OS_POSIX) |
88 // Used for turning on Breakpad crash reporting in a debug environment where | 89 // Used for turning on Breakpad crash reporting in a debug environment where |
89 // crash reporting is typically compiled but disabled. | 90 // crash reporting is typically compiled but disabled. |
90 const char kEnableCrashReporterForTesting[] = | 91 const char kEnableCrashReporterForTesting[] = |
91 "enable-crash-reporter-for-testing"; | 92 "enable-crash-reporter-for-testing"; |
92 #endif | 93 #endif |
93 | 94 |
94 } // namespace switches | 95 } // namespace switches |
OLD | NEW |