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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 extern const char kDisableBackgroundMode[]; | 60 extern const char kDisableBackgroundMode[]; |
61 extern const char kDisableBackgroundNetworking[]; | 61 extern const char kDisableBackgroundNetworking[]; |
62 extern const char kDisableBackingStoreLimit[]; | 62 extern const char kDisableBackingStoreLimit[]; |
63 extern const char kDisableConnectBackupJobs[]; | 63 extern const char kDisableConnectBackupJobs[]; |
64 extern const char kDisableContentPrefetch[]; | 64 extern const char kDisableContentPrefetch[]; |
65 extern const char kDisableCustomJumpList[]; | 65 extern const char kDisableCustomJumpList[]; |
66 extern const char kDisableDatabases[]; | 66 extern const char kDisableDatabases[]; |
67 extern const char kDisableDesktopNotifications[]; | 67 extern const char kDisableDesktopNotifications[]; |
68 extern const char kDisableDevTools[]; | 68 extern const char kDisableDevTools[]; |
69 extern const char kDisableDeviceOrientation[]; | 69 extern const char kDisableDeviceOrientation[]; |
| 70 extern const char kDisableEnforcedThrottling[]; |
70 extern const char kDisableExperimentalWebGL[]; | 71 extern const char kDisableExperimentalWebGL[]; |
71 extern const char kDisableExtensionsFileAccessCheck[]; | 72 extern const char kDisableExtensionsFileAccessCheck[]; |
72 extern const char kDisableExtensions[]; | 73 extern const char kDisableExtensions[]; |
73 extern const char kDisableFileSystem[]; | 74 extern const char kDisableFileSystem[]; |
74 extern const char kDisableFlashSandbox[]; | 75 extern const char kDisableFlashSandbox[]; |
75 extern const char kDisableGLSLTranslator[]; | 76 extern const char kDisableGLSLTranslator[]; |
76 extern const char kDisableGeolocation[]; | 77 extern const char kDisableGeolocation[]; |
77 extern const char kDisableGpuWatchdog[]; | 78 extern const char kDisableGpuWatchdog[]; |
78 extern const char kDisableHangMonitor[]; | 79 extern const char kDisableHangMonitor[]; |
79 extern const char kDisableHistoryQuickProvider[]; | 80 extern const char kDisableHistoryQuickProvider[]; |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 | 408 |
408 // Return true if the switches indicate the seccomp sandbox is enabled. | 409 // Return true if the switches indicate the seccomp sandbox is enabled. |
409 bool SeccompSandboxEnabled(); | 410 bool SeccompSandboxEnabled(); |
410 | 411 |
411 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 412 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
412 // alphabetical order, or in one of the ifdefs (also in order in each section). | 413 // alphabetical order, or in one of the ifdefs (also in order in each section). |
413 | 414 |
414 } // namespace switches | 415 } // namespace switches |
415 | 416 |
416 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 417 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |