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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 extern const char kDisableSyncApps[]; | 88 extern const char kDisableSyncApps[]; |
89 extern const char kDisableSyncAutofill[]; | 89 extern const char kDisableSyncAutofill[]; |
90 extern const char kDisableSyncBookmarks[]; | 90 extern const char kDisableSyncBookmarks[]; |
91 extern const char kDisableSyncExtensions[]; | 91 extern const char kDisableSyncExtensions[]; |
92 extern const char kDisableSyncPasswords[]; | 92 extern const char kDisableSyncPasswords[]; |
93 extern const char kDisableSyncPreferences[]; | 93 extern const char kDisableSyncPreferences[]; |
94 extern const char kDisableSyncThemes[]; | 94 extern const char kDisableSyncThemes[]; |
95 extern const char kDisableSyncTypedUrls[]; | 95 extern const char kDisableSyncTypedUrls[]; |
96 extern const char kDisableSyncSessions[]; | 96 extern const char kDisableSyncSessions[]; |
97 extern const char kDisableTabCloseableStateWatcher[]; | 97 extern const char kDisableTabCloseableStateWatcher[]; |
| 98 extern const char kDisableTranslate[]; |
98 extern const char kDisableWebResources[]; | 99 extern const char kDisableWebResources[]; |
99 extern const char kDisableWebSecurity[]; | 100 extern const char kDisableWebSecurity[]; |
100 extern const char kDisableWebSockets[]; | 101 extern const char kDisableWebSockets[]; |
101 extern const char kDiskCacheDir[]; | 102 extern const char kDiskCacheDir[]; |
102 extern const char kDiskCacheSize[]; | 103 extern const char kDiskCacheSize[]; |
103 extern const char kDnsLogDetails[]; | 104 extern const char kDnsLogDetails[]; |
104 extern const char kDnsPrefetchDisable[]; | 105 extern const char kDnsPrefetchDisable[]; |
105 extern const char kDomAutomationController[]; | 106 extern const char kDomAutomationController[]; |
106 extern const char kDumpHistogramsOnExit[]; | 107 extern const char kDumpHistogramsOnExit[]; |
107 extern const char kEnableAcceleratedCompositing[]; | 108 extern const char kEnableAcceleratedCompositing[]; |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 #endif | 373 #endif |
373 // Return true if the switches indicate the seccomp sandbox is enabled. | 374 // Return true if the switches indicate the seccomp sandbox is enabled. |
374 bool SeccompSandboxEnabled(); | 375 bool SeccompSandboxEnabled(); |
375 | 376 |
376 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 377 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
377 // alphabetical order, or in one of the ifdefs (also in order in each section). | 378 // alphabetical order, or in one of the ifdefs (also in order in each section). |
378 | 379 |
379 } // namespace switches | 380 } // namespace switches |
380 | 381 |
381 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 382 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |