OLD | NEW |
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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 // Causes the browser process to inspect loaded and registered DLLs for | 140 // Causes the browser process to inspect loaded and registered DLLs for |
141 // known conflicts and warn the user. | 141 // known conflicts and warn the user. |
142 const char kConflictingModulesCheck[] = "conflicting-modules-check"; | 142 const char kConflictingModulesCheck[] = "conflicting-modules-check"; |
143 | 143 |
144 // The Country we should use. This is normally obtained from the operating | 144 // The Country we should use. This is normally obtained from the operating |
145 // system during first run and cached in the preferences afterwards. This is a | 145 // system during first run and cached in the preferences afterwards. This is a |
146 // string value, the 2 letter code from ISO 3166-1. | 146 // string value, the 2 letter code from ISO 3166-1. |
147 const char kCountry[] = "country"; | 147 const char kCountry[] = "country"; |
148 | 148 |
| 149 // Causes the browser process to crash if browser threads are not responding for |
| 150 // the given number of seconds. |
| 151 const char kCrashOnHangSeconds[] = "crash-on-hang-seconds"; |
| 152 |
| 153 // Comma separated list of BrowserThreads that cause browser process to crash if |
| 154 // the given browser thread is not responsive. UI,IO,DB,FILE,CACHE are the list |
| 155 // of BrowserThreads that are supported. |
| 156 // |
| 157 // For example: |
| 158 // --crash-on-hang-threads=UI,IO --> Crash the browser if UI or IO thread is |
| 159 // not responsive. |
| 160 const char kCrashOnHangThreads[] = "crash-on-hang-threads"; |
| 161 |
149 // Path to the inspector files on disk (allows reloading of devtool files | 162 // Path to the inspector files on disk (allows reloading of devtool files |
150 // without having to restart the browser). | 163 // without having to restart the browser). |
151 const char kDebugDevToolsFrontend[] = "debug-devtools-frontend"; | 164 const char kDebugDevToolsFrontend[] = "debug-devtools-frontend"; |
152 | 165 |
153 // Enables a frame context menu item that toggles the frame in and out of glass | 166 // Enables a frame context menu item that toggles the frame in and out of glass |
154 // mode (Windows Vista and up only). | 167 // mode (Windows Vista and up only). |
155 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; | 168 const char kDebugEnableFrameToggle[] = "debug-enable-frame-toggle"; |
156 | 169 |
157 // Enables support to debug printing subsystem. | 170 // Enables support to debug printing subsystem. |
158 const char kDebugPrint[] = "debug-print"; | 171 const char kDebugPrint[] = "debug-print"; |
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1171 | 1184 |
1172 // ----------------------------------------------------------------------------- | 1185 // ----------------------------------------------------------------------------- |
1173 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1186 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1174 // | 1187 // |
1175 // You were going to just dump your switches here, weren't you? Instead, | 1188 // You were going to just dump your switches here, weren't you? Instead, |
1176 // please put them in alphabetical order above, or in order inside the | 1189 // please put them in alphabetical order above, or in order inside the |
1177 // appropriate ifdef at the bottom. The order should match the header. | 1190 // appropriate ifdef at the bottom. The order should match the header. |
1178 // ----------------------------------------------------------------------------- | 1191 // ----------------------------------------------------------------------------- |
1179 | 1192 |
1180 } // namespace switches | 1193 } // namespace switches |
OLD | NEW |