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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 #endif | 394 #endif |
395 | 395 |
396 #if !defined(OFFICIAL_BUILD) | 396 #if !defined(OFFICIAL_BUILD) |
397 extern const char kRendererCheckFalseTest[]; | 397 extern const char kRendererCheckFalseTest[]; |
398 #endif | 398 #endif |
399 | 399 |
400 #if defined(HAVE_XINPUT2) | 400 #if defined(HAVE_XINPUT2) |
401 extern const char kTouchDevices[]; | 401 extern const char kTouchDevices[]; |
402 #endif | 402 #endif |
403 | 403 |
404 #if defined(USE_SECCOMP_SANDBOX) | |
405 extern const char kDisableSeccompSandbox[]; | 404 extern const char kDisableSeccompSandbox[]; |
406 #else | |
407 extern const char kEnableSeccompSandbox[]; | 405 extern const char kEnableSeccompSandbox[]; |
408 #endif | 406 |
409 // Return true if the switches indicate the seccomp sandbox is enabled. | 407 // Return true if the switches indicate the seccomp sandbox is enabled. |
410 bool SeccompSandboxEnabled(); | 408 bool SeccompSandboxEnabled(); |
411 | 409 |
412 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 410 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
413 // alphabetical order, or in one of the ifdefs (also in order in each section). | 411 // alphabetical order, or in one of the ifdefs (also in order in each section). |
414 | 412 |
415 } // namespace switches | 413 } // namespace switches |
416 | 414 |
417 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 415 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |