Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 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 "base/base_switches.h" | |
| 11 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 12 #include "base/base_switches.h" | |
| 13 | 13 |
| 14 namespace switches { | 14 namespace switches { |
| 15 | 15 |
| 16 // ----------------------------------------------------------------------------- | 16 // ----------------------------------------------------------------------------- |
| 17 // Can't find the switch you are looking for? Try looking in | 17 // Can't find the switch you are looking for? Try looking in |
| 18 // base/base_switches.cc instead. | 18 // base/base_switches.cc instead. |
| 19 // ----------------------------------------------------------------------------- | 19 // ----------------------------------------------------------------------------- |
| 20 | 20 |
| 21 // All switches in alphabetical order. The switches should be documented | 21 // All switches in alphabetical order. The switches should be documented |
| 22 // alongside the definition of their values in the .cc file. | 22 // alongside the definition of their values in the .cc file. |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 46 extern const char kCheckForUpdateIntervalSec[]; | 46 extern const char kCheckForUpdateIntervalSec[]; |
| 47 extern const char kChromeFrame[]; | 47 extern const char kChromeFrame[]; |
| 48 extern const char kChromeVersion[]; | 48 extern const char kChromeVersion[]; |
| 49 extern const char kCloudPrintFile[]; | 49 extern const char kCloudPrintFile[]; |
| 50 extern const char kCloudPrintJobTitle[]; | 50 extern const char kCloudPrintJobTitle[]; |
| 51 extern const char kCloudPrintProxyId[]; | 51 extern const char kCloudPrintProxyId[]; |
| 52 extern const char kCloudPrintServiceURL[]; | 52 extern const char kCloudPrintServiceURL[]; |
| 53 extern const char kConflictingModulesCheck[]; | 53 extern const char kConflictingModulesCheck[]; |
| 54 extern const char kCountry[]; | 54 extern const char kCountry[]; |
| 55 extern const char kDebugPrint[]; | 55 extern const char kDebugPrint[]; |
| 56 extern const char kDevicePolicyCacheDir[]; | |
|
danno
2011/02/15 12:27:15
Alphabetize
Jakob Kummerow
2011/02/21 12:12:15
Done.
| |
| 56 extern const char kDeviceManagementUrl[]; | 57 extern const char kDeviceManagementUrl[]; |
| 57 extern const char kDiagnostics[]; | 58 extern const char kDiagnostics[]; |
| 58 extern const char kDisable3DAPIs[]; | 59 extern const char kDisable3DAPIs[]; |
| 59 extern const char kDisableAcceleratedCompositing[]; | 60 extern const char kDisableAcceleratedCompositing[]; |
| 60 extern const char kDisableAcceleratedVideo[]; | 61 extern const char kDisableAcceleratedVideo[]; |
| 61 extern const char kDisableAltWinstation[]; | 62 extern const char kDisableAltWinstation[]; |
| 62 extern const char kDisableApplicationCache[]; | 63 extern const char kDisableApplicationCache[]; |
| 63 extern const char kDisableAudio[]; | 64 extern const char kDisableAudio[]; |
| 64 extern const char kDisableAuthNegotiateCnameLookup[]; | 65 extern const char kDisableAuthNegotiateCnameLookup[]; |
| 65 extern const char kDisableBackgroundMode[]; | 66 extern const char kDisableBackgroundMode[]; |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 415 | 416 |
| 416 // Return true if the switches indicate the seccomp sandbox is enabled. | 417 // Return true if the switches indicate the seccomp sandbox is enabled. |
| 417 bool SeccompSandboxEnabled(); | 418 bool SeccompSandboxEnabled(); |
| 418 | 419 |
| 419 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 420 // 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). | 421 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 421 | 422 |
| 422 } // namespace switches | 423 } // namespace switches |
| 423 | 424 |
| 424 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 425 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |