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 "base/base_switches.h" | |
11 #include "build/build_config.h" | 12 #include "build/build_config.h" |
Mattias Nissler (ping if slow)
2011/02/21 14:39:13
I guess this is one of my accidental reorderings t
Jakob Kummerow
2011/02/22 10:02:33
Done.
| |
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 24 matching lines...) Expand all Loading... | |
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 kDeviceManagementUrl[]; | 56 extern const char kDeviceManagementUrl[]; |
57 extern const char kDevicePolicyCacheDir[]; | |
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 kDisableAcceleratedLayers[]; | 61 extern const char kDisableAcceleratedLayers[]; |
61 extern const char kDisableAcceleratedVideo[]; | 62 extern const char kDisableAcceleratedVideo[]; |
62 extern const char kDisableAltWinstation[]; | 63 extern const char kDisableAltWinstation[]; |
63 extern const char kDisableApplicationCache[]; | 64 extern const char kDisableApplicationCache[]; |
64 extern const char kDisableAudio[]; | 65 extern const char kDisableAudio[]; |
65 extern const char kDisableAuthNegotiateCnameLookup[]; | 66 extern const char kDisableAuthNegotiateCnameLookup[]; |
66 extern const char kDisableBackgroundMode[]; | 67 extern const char kDisableBackgroundMode[]; |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
424 | 425 |
425 // Return true if the switches indicate the seccomp sandbox is enabled. | 426 // Return true if the switches indicate the seccomp sandbox is enabled. |
426 bool SeccompSandboxEnabled(); | 427 bool SeccompSandboxEnabled(); |
427 | 428 |
428 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 429 // 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). | 430 // alphabetical order, or in one of the ifdefs (also in order in each section). |
430 | 431 |
431 } // namespace switches | 432 } // namespace switches |
432 | 433 |
433 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 434 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |