| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 extern const char kDisableCustomJumpList[]; | 54 extern const char kDisableCustomJumpList[]; |
| 55 extern const char kDisableDatabases[]; | 55 extern const char kDisableDatabases[]; |
| 56 extern const char kDisableDesktopNotifications[]; | 56 extern const char kDisableDesktopNotifications[]; |
| 57 extern const char kDisableDevTools[]; | 57 extern const char kDisableDevTools[]; |
| 58 extern const char kDisableExtensions[]; | 58 extern const char kDisableExtensions[]; |
| 59 extern const char kDisableExtensionsFileAccessCheck[]; | 59 extern const char kDisableExtensionsFileAccessCheck[]; |
| 60 extern const char kDisableGeolocation[]; | 60 extern const char kDisableGeolocation[]; |
| 61 extern const char kDisableHangMonitor[]; | 61 extern const char kDisableHangMonitor[]; |
| 62 extern const char kDisableInternalFlash[]; | 62 extern const char kDisableInternalFlash[]; |
| 63 extern const char kDisableIPv6[]; | 63 extern const char kDisableIPv6[]; |
| 64 extern const char kDisablePreconnect[]; |
| 64 extern const char kDisableJavaScript[]; | 65 extern const char kDisableJavaScript[]; |
| 65 extern const char kDisableJava[]; | 66 extern const char kDisableJava[]; |
| 66 extern const char kDisableLocalStorage[]; | 67 extern const char kDisableLocalStorage[]; |
| 67 extern const char kDisableLogging[]; | 68 extern const char kDisableLogging[]; |
| 68 extern const char kDisableNewTabFirstRun[]; | 69 extern const char kDisableNewTabFirstRun[]; |
| 69 extern const char kDisablePlugins[]; | 70 extern const char kDisablePlugins[]; |
| 70 extern const char kDisablePopupBlocking[]; | 71 extern const char kDisablePopupBlocking[]; |
| 71 extern const char kDisablePromptOnRepost[]; | 72 extern const char kDisablePromptOnRepost[]; |
| 72 extern const char kDisableRemoteFonts[]; | 73 extern const char kDisableRemoteFonts[]; |
| 73 extern const char kDisableRendererAccessibility[]; | 74 extern const char kDisableRendererAccessibility[]; |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 #endif | 350 #endif |
| 350 // Return true if the switches indicate the seccomp sandbox is enabled. | 351 // Return true if the switches indicate the seccomp sandbox is enabled. |
| 351 bool SeccompSandboxEnabled(); | 352 bool SeccompSandboxEnabled(); |
| 352 | 353 |
| 353 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 354 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 354 // alphabetical order, or in one of the ifdefs (also in order in each section). | 355 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 355 | 356 |
| 356 } // namespace switches | 357 } // namespace switches |
| 357 | 358 |
| 358 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 359 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |