| 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 // 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 extern const char kNoSandbox[]; | 257 extern const char kNoSandbox[]; |
| 258 extern const char kNoStartupWindow[]; | 258 extern const char kNoStartupWindow[]; |
| 259 extern const char kNotifyCloudPrintTokenExpired[]; | 259 extern const char kNotifyCloudPrintTokenExpired[]; |
| 260 extern const char kNumPacThreads[]; | 260 extern const char kNumPacThreads[]; |
| 261 extern const char kOpenInNewWindow[]; | 261 extern const char kOpenInNewWindow[]; |
| 262 extern const char kOrganicInstall[]; | 262 extern const char kOrganicInstall[]; |
| 263 extern const char kPackExtension[]; | 263 extern const char kPackExtension[]; |
| 264 extern const char kPackExtensionKey[]; | 264 extern const char kPackExtensionKey[]; |
| 265 extern const char kParentProfile[]; | 265 extern const char kParentProfile[]; |
| 266 extern const char kPlaybackMode[]; | 266 extern const char kPlaybackMode[]; |
| 267 extern const char kPluginDataDir[]; | |
| 268 extern const char kPluginLauncher[]; | 267 extern const char kPluginLauncher[]; |
| 269 extern const char kPluginPath[]; | 268 extern const char kPluginPath[]; |
| 270 extern const char kPluginProcess[]; | 269 extern const char kPluginProcess[]; |
| 271 extern const char kPluginStartupDialog[]; | 270 extern const char kPluginStartupDialog[]; |
| 272 extern const char kPpapiOutOfProcess[]; | 271 extern const char kPpapiOutOfProcess[]; |
| 273 extern const char kPpapiPluginLauncher[]; | 272 extern const char kPpapiPluginLauncher[]; |
| 274 extern const char kPpapiPluginProcess[]; | 273 extern const char kPpapiPluginProcess[]; |
| 275 extern const char kPpapiStartupDialog[]; | 274 extern const char kPpapiStartupDialog[]; |
| 276 extern const char kPrerender[]; | 275 extern const char kPrerender[]; |
| 277 extern const char kPrerenderSwitchValueAuto[]; | 276 extern const char kPrerenderSwitchValueAuto[]; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 #else | 403 #else |
| 405 extern const char kKioskMode[]; | 404 extern const char kKioskMode[]; |
| 406 #endif | 405 #endif |
| 407 | 406 |
| 408 #if defined(TOOLKIT_VIEWS) | 407 #if defined(TOOLKIT_VIEWS) |
| 409 extern const char kDebugViewsPaint[]; | 408 extern const char kDebugViewsPaint[]; |
| 410 #endif | 409 #endif |
| 411 | 410 |
| 412 #ifndef NDEBUG | 411 #ifndef NDEBUG |
| 413 extern const char kClearTokenService[]; | 412 extern const char kClearTokenService[]; |
| 414 extern const char kGearsPluginPathOverride[]; | |
| 415 extern const char kSetToken[]; | 413 extern const char kSetToken[]; |
| 416 extern const char kWebSocketLiveExperimentHost[]; | 414 extern const char kWebSocketLiveExperimentHost[]; |
| 417 #endif | 415 #endif |
| 418 | 416 |
| 419 #if !defined(OFFICIAL_BUILD) | 417 #if !defined(OFFICIAL_BUILD) |
| 420 extern const char kRendererCheckFalseTest[]; | 418 extern const char kRendererCheckFalseTest[]; |
| 421 #endif | 419 #endif |
| 422 | 420 |
| 423 #if defined(HAVE_XINPUT2) | 421 #if defined(HAVE_XINPUT2) |
| 424 extern const char kTouchDevices[]; | 422 extern const char kTouchDevices[]; |
| 425 #endif | 423 #endif |
| 426 | 424 |
| 427 extern const char kDisableSeccompSandbox[]; | 425 extern const char kDisableSeccompSandbox[]; |
| 428 extern const char kEnableSeccompSandbox[]; | 426 extern const char kEnableSeccompSandbox[]; |
| 429 | 427 |
| 430 // Return true if the switches indicate the seccomp sandbox is enabled. | 428 // Return true if the switches indicate the seccomp sandbox is enabled. |
| 431 bool SeccompSandboxEnabled(); | 429 bool SeccompSandboxEnabled(); |
| 432 | 430 |
| 433 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 431 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 434 // alphabetical order, or in one of the ifdefs (also in order in each section). | 432 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 435 | 433 |
| 436 } // namespace switches | 434 } // namespace switches |
| 437 | 435 |
| 438 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 436 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |