| 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 |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 |
| 12 #include "base/base_switches.h" | 13 #include "base/base_switches.h" |
| 13 | 14 |
| 14 namespace switches { | 15 namespace switches { |
| 15 | 16 |
| 16 // ----------------------------------------------------------------------------- | 17 // ----------------------------------------------------------------------------- |
| 17 // Can't find the switch you are looking for? Try looking in | 18 // Can't find the switch you are looking for? Try looking in |
| 18 // base/base_switches.cc instead. | 19 // base/base_switches.cc instead. |
| 19 // ----------------------------------------------------------------------------- | 20 // ----------------------------------------------------------------------------- |
| 20 | 21 |
| 21 // All switches in alphabetical order. The switches should be documented | 22 // All switches in alphabetical order. The switches should be documented |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 extern const char kChromeFrame[]; | 48 extern const char kChromeFrame[]; |
| 48 extern const char kChromeVersion[]; | 49 extern const char kChromeVersion[]; |
| 49 extern const char kCloudPrintFile[]; | 50 extern const char kCloudPrintFile[]; |
| 50 extern const char kCloudPrintJobTitle[]; | 51 extern const char kCloudPrintJobTitle[]; |
| 51 extern const char kCloudPrintProxyId[]; | 52 extern const char kCloudPrintProxyId[]; |
| 52 extern const char kCloudPrintServiceURL[]; | 53 extern const char kCloudPrintServiceURL[]; |
| 53 extern const char kConflictingModulesCheck[]; | 54 extern const char kConflictingModulesCheck[]; |
| 54 extern const char kCountry[]; | 55 extern const char kCountry[]; |
| 55 extern const char kDebugPrint[]; | 56 extern const char kDebugPrint[]; |
| 56 extern const char kDeviceManagementUrl[]; | 57 extern const char kDeviceManagementUrl[]; |
| 58 extern const char kDevicePolicyCacheDir[]; |
| 57 extern const char kDiagnostics[]; | 59 extern const char kDiagnostics[]; |
| 58 extern const char kDisable3DAPIs[]; | 60 extern const char kDisable3DAPIs[]; |
| 59 extern const char kDisableAcceleratedCompositing[]; | 61 extern const char kDisableAcceleratedCompositing[]; |
| 60 extern const char kDisableAcceleratedLayers[]; | 62 extern const char kDisableAcceleratedLayers[]; |
| 61 extern const char kDisableAcceleratedVideo[]; | 63 extern const char kDisableAcceleratedVideo[]; |
| 62 extern const char kDisableAltWinstation[]; | 64 extern const char kDisableAltWinstation[]; |
| 63 extern const char kDisableApplicationCache[]; | 65 extern const char kDisableApplicationCache[]; |
| 64 extern const char kDisableAudio[]; | 66 extern const char kDisableAudio[]; |
| 65 extern const char kDisableAuthNegotiateCnameLookup[]; | 67 extern const char kDisableAuthNegotiateCnameLookup[]; |
| 66 extern const char kDisableBackgroundMode[]; | 68 extern const char kDisableBackgroundMode[]; |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 426 |
| 425 // Return true if the switches indicate the seccomp sandbox is enabled. | 427 // Return true if the switches indicate the seccomp sandbox is enabled. |
| 426 bool SeccompSandboxEnabled(); | 428 bool SeccompSandboxEnabled(); |
| 427 | 429 |
| 428 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 430 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 429 // alphabetical order, or in one of the ifdefs (also in order in each section). | 431 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 430 | 432 |
| 431 } // namespace switches | 433 } // namespace switches |
| 432 | 434 |
| 433 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 435 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |