| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 extern const char kEnableSyncSessions[]; | 172 extern const char kEnableSyncSessions[]; |
| 173 extern const char kEnableSyncTypedUrls[]; | 173 extern const char kEnableSyncTypedUrls[]; |
| 174 extern const char kEnableTcpFastOpen[]; | 174 extern const char kEnableTcpFastOpen[]; |
| 175 extern const char kEnableTopSites[]; | 175 extern const char kEnableTopSites[]; |
| 176 extern const char kEnableTouch[]; | 176 extern const char kEnableTouch[]; |
| 177 extern const char kEnableVerbatimInstant[]; | 177 extern const char kEnableVerbatimInstant[]; |
| 178 extern const char kEnableVerticalTabs[]; | 178 extern const char kEnableVerticalTabs[]; |
| 179 extern const char kEnableVideoFullscreen[]; | 179 extern const char kEnableVideoFullscreen[]; |
| 180 extern const char kEnableVideoLogging[]; | 180 extern const char kEnableVideoLogging[]; |
| 181 extern const char kEnableWatchdog[]; | 181 extern const char kEnableWatchdog[]; |
| 182 extern const char kEnableWebAudio[]; |
| 182 extern const char kEnableXSSAuditor[]; | 183 extern const char kEnableXSSAuditor[]; |
| 183 // Experimental features. | 184 // Experimental features. |
| 184 extern const char kExperimentalLocationFeatures[]; | 185 extern const char kExperimentalLocationFeatures[]; |
| 185 extern const char kExperimentalSpellcheckerFeatures[]; | 186 extern const char kExperimentalSpellcheckerFeatures[]; |
| 186 // End experimental features. | 187 // End experimental features. |
| 187 extern const char kExplicitlyAllowedPorts[]; | 188 extern const char kExplicitlyAllowedPorts[]; |
| 188 extern const char kExtensionProcess[]; | 189 extern const char kExtensionProcess[]; |
| 189 extern const char kExtensionsUpdateFrequency[]; | 190 extern const char kExtensionsUpdateFrequency[]; |
| 190 extern const char kFlagSwitchesBegin[]; | 191 extern const char kFlagSwitchesBegin[]; |
| 191 extern const char kFlagSwitchesEnd[]; | 192 extern const char kFlagSwitchesEnd[]; |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 | 412 |
| 412 // Return true if the switches indicate the seccomp sandbox is enabled. | 413 // Return true if the switches indicate the seccomp sandbox is enabled. |
| 413 bool SeccompSandboxEnabled(); | 414 bool SeccompSandboxEnabled(); |
| 414 | 415 |
| 415 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 416 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 416 // alphabetical order, or in one of the ifdefs (also in order in each section). | 417 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 417 | 418 |
| 418 } // namespace switches | 419 } // namespace switches |
| 419 | 420 |
| 420 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 421 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |