OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Defines all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 #endif | 264 #endif |
265 | 265 |
266 #if defined(OS_POSIX) | 266 #if defined(OS_POSIX) |
267 extern const char kEnableCrashReporter[]; | 267 extern const char kEnableCrashReporter[]; |
268 extern const char kNoProcessSingletonDialog[]; | 268 extern const char kNoProcessSingletonDialog[]; |
269 #endif | 269 #endif |
270 | 270 |
271 #if defined(OS_MACOSX) | 271 #if defined(OS_MACOSX) |
272 extern const char kDisableFlashCoreAnimation[]; | 272 extern const char kDisableFlashCoreAnimation[]; |
273 extern const char kEnableSandboxLogging[]; | 273 extern const char kEnableSandboxLogging[]; |
| 274 extern const char kUseNSSForSSL[]; |
274 #else | 275 #else |
275 extern const char kKioskMode[]; | 276 extern const char kKioskMode[]; |
276 #endif | 277 #endif |
277 | 278 |
278 #ifndef NDEBUG | 279 #ifndef NDEBUG |
279 extern const char kGearsPluginPathOverride[]; | 280 extern const char kGearsPluginPathOverride[]; |
280 extern const char kInvalidateSyncLogin[]; | 281 extern const char kInvalidateSyncLogin[]; |
281 extern const char kInvalidateSyncXmppLogin[]; | 282 extern const char kInvalidateSyncXmppLogin[]; |
282 extern const char kWebSocketLiveExperimentHost[]; | 283 extern const char kWebSocketLiveExperimentHost[]; |
283 #endif | 284 #endif |
284 | 285 |
285 #if !defined(OFFICIAL_BUILD) | 286 #if !defined(OFFICIAL_BUILD) |
286 extern const char kRendererCheckFalseTest[]; | 287 extern const char kRendererCheckFalseTest[]; |
287 #endif | 288 #endif |
288 | 289 |
289 #if defined(USE_SECCOMP_SANDBOX) | 290 #if defined(USE_SECCOMP_SANDBOX) |
290 extern const char kDisableSeccompSandbox[]; | 291 extern const char kDisableSeccompSandbox[]; |
291 #else | 292 #else |
292 extern const char kEnableSeccompSandbox[]; | 293 extern const char kEnableSeccompSandbox[]; |
293 #endif | 294 #endif |
294 // Return true if the switches indicate the seccomp sandbox is enabled. | 295 // Return true if the switches indicate the seccomp sandbox is enabled. |
295 bool SeccompSandboxEnabled(); | 296 bool SeccompSandboxEnabled(); |
296 | 297 |
297 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 298 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
298 // alphabetical order, or in one of the ifdefs (also in order in each section). | 299 // alphabetical order, or in one of the ifdefs (also in order in each section). |
299 | 300 |
300 } // namespace switches | 301 } // namespace switches |
301 | 302 |
302 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 303 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |