| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 #if defined(OS_POSIX) | 382 #if defined(OS_POSIX) |
| 383 extern const char kEnableCrashReporter[]; | 383 extern const char kEnableCrashReporter[]; |
| 384 extern const char kNoProcessSingletonDialog[]; | 384 extern const char kNoProcessSingletonDialog[]; |
| 385 #if !defined(OS_MACOSX) | 385 #if !defined(OS_MACOSX) |
| 386 extern const char kPasswordStore[]; | 386 extern const char kPasswordStore[]; |
| 387 #endif | 387 #endif |
| 388 #endif | 388 #endif |
| 389 | 389 |
| 390 #if defined(OS_MACOSX) | 390 #if defined(OS_MACOSX) |
| 391 extern const char kDisableHolePunching[]; | 391 extern const char kDisableHolePunching[]; |
| 392 extern const char kEnableExposeForTabs[]; | |
| 393 extern const char kEnableSandboxLogging[]; | 392 extern const char kEnableSandboxLogging[]; |
| 394 #else | 393 #else |
| 395 extern const char kKioskMode[]; | 394 extern const char kKioskMode[]; |
| 396 #endif | 395 #endif |
| 397 | 396 |
| 398 #ifndef NDEBUG | 397 #ifndef NDEBUG |
| 399 extern const char kClearTokenService[]; | 398 extern const char kClearTokenService[]; |
| 400 extern const char kGearsPluginPathOverride[]; | 399 extern const char kGearsPluginPathOverride[]; |
| 401 extern const char kSetToken[]; | 400 extern const char kSetToken[]; |
| 402 extern const char kWebSocketLiveExperimentHost[]; | 401 extern const char kWebSocketLiveExperimentHost[]; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 415 | 414 |
| 416 // Return true if the switches indicate the seccomp sandbox is enabled. | 415 // Return true if the switches indicate the seccomp sandbox is enabled. |
| 417 bool SeccompSandboxEnabled(); | 416 bool SeccompSandboxEnabled(); |
| 418 | 417 |
| 419 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 418 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 420 // alphabetical order, or in one of the ifdefs (also in order in each section). | 419 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 421 | 420 |
| 422 } // namespace switches | 421 } // namespace switches |
| 423 | 422 |
| 424 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 423 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |