| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 extern const char kEnableSecureInfoBars[]; | 148 extern const char kEnableSecureInfoBars[]; |
| 149 extern const char kEnableSnapStart[]; | 149 extern const char kEnableSnapStart[]; |
| 150 extern const char kEnableStatsTable[]; | 150 extern const char kEnableStatsTable[]; |
| 151 extern const char kEnableSync[]; | 151 extern const char kEnableSync[]; |
| 152 extern const char kEnableSyncAutofill[]; | 152 extern const char kEnableSyncAutofill[]; |
| 153 extern const char kEnableSyncPasswords[]; | 153 extern const char kEnableSyncPasswords[]; |
| 154 extern const char kEnableSyncPreferences[]; | 154 extern const char kEnableSyncPreferences[]; |
| 155 extern const char kEnableSyncSessions[]; | 155 extern const char kEnableSyncSessions[]; |
| 156 extern const char kEnableSyncTypedUrls[]; | 156 extern const char kEnableSyncTypedUrls[]; |
| 157 extern const char kEnableTabbedOptions[]; | 157 extern const char kEnableTabbedOptions[]; |
| 158 extern const char kEnableTcpFastOpen[]; |
| 159 |
| 158 extern const char kEnableTopSites[]; | 160 extern const char kEnableTopSites[]; |
| 159 extern const char kEnableTouch[]; | 161 extern const char kEnableTouch[]; |
| 160 extern const char kEnableVerticalTabs[]; | 162 extern const char kEnableVerticalTabs[]; |
| 161 extern const char kEnableVideoFullscreen[]; | 163 extern const char kEnableVideoFullscreen[]; |
| 162 extern const char kEnableVideoLayering[]; | 164 extern const char kEnableVideoLayering[]; |
| 163 extern const char kEnableVideoLogging[]; | 165 extern const char kEnableVideoLogging[]; |
| 164 extern const char kEnableWatchdog[]; | 166 extern const char kEnableWatchdog[]; |
| 165 extern const char kEnableXSSAuditor[]; | 167 extern const char kEnableXSSAuditor[]; |
| 166 // Experimental features. | 168 // Experimental features. |
| 167 extern const char kExperimentalLocationFeatures[]; | 169 extern const char kExperimentalLocationFeatures[]; |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 #endif | 383 #endif |
| 382 // Return true if the switches indicate the seccomp sandbox is enabled. | 384 // Return true if the switches indicate the seccomp sandbox is enabled. |
| 383 bool SeccompSandboxEnabled(); | 385 bool SeccompSandboxEnabled(); |
| 384 | 386 |
| 385 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 387 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 386 // alphabetical order, or in one of the ifdefs (also in order in each section). | 388 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 387 | 389 |
| 388 } // namespace switches | 390 } // namespace switches |
| 389 | 391 |
| 390 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 392 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |