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 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 extern const char kDisablePlugins[]; | 67 extern const char kDisablePlugins[]; |
68 extern const char kDisablePopupBlocking[]; | 68 extern const char kDisablePopupBlocking[]; |
69 extern const char kDisablePromptOnRepost[]; | 69 extern const char kDisablePromptOnRepost[]; |
70 extern const char kDisableRemoteFonts[]; | 70 extern const char kDisableRemoteFonts[]; |
71 extern const char kDisableSessionStorage[]; | 71 extern const char kDisableSessionStorage[]; |
72 extern const char kDisableSharedWorkers[]; | 72 extern const char kDisableSharedWorkers[]; |
73 extern const char kDisableSiteSpecificQuirks[]; | 73 extern const char kDisableSiteSpecificQuirks[]; |
74 extern const char kDisableSync[]; | 74 extern const char kDisableSync[]; |
75 extern const char kDisableSyncAutofill[]; | 75 extern const char kDisableSyncAutofill[]; |
76 extern const char kDisableSyncBookmarks[]; | 76 extern const char kDisableSyncBookmarks[]; |
| 77 extern const char kDisableSyncPasswords[]; |
77 extern const char kDisableSyncPreferences[]; | 78 extern const char kDisableSyncPreferences[]; |
78 extern const char kDisableSyncThemes[]; | 79 extern const char kDisableSyncThemes[]; |
79 extern const char kDisableSyncTypedUrls[]; | 80 extern const char kDisableSyncTypedUrls[]; |
80 extern const char kDisableWebResources[]; | 81 extern const char kDisableWebResources[]; |
81 extern const char kDisableWebSecurity[]; | 82 extern const char kDisableWebSecurity[]; |
82 extern const char kDisableWebSockets[]; | 83 extern const char kDisableWebSockets[]; |
83 extern const char kDiskCacheDir[]; | 84 extern const char kDiskCacheDir[]; |
84 extern const char kDiskCacheSize[]; | 85 extern const char kDiskCacheSize[]; |
85 extern const char kDnsLogDetails[]; | 86 extern const char kDnsLogDetails[]; |
86 extern const char kDnsPrefetchDisable[]; | 87 extern const char kDnsPrefetchDisable[]; |
(...skipping 20 matching lines...) Expand all Loading... |
107 extern const char kEnableNaCl[]; | 108 extern const char kEnableNaCl[]; |
108 extern const char kEnableNativeWebWorkers[]; | 109 extern const char kEnableNativeWebWorkers[]; |
109 extern const char kEnablePreparsedJsCaching[]; | 110 extern const char kEnablePreparsedJsCaching[]; |
110 extern const char kEnablePreconnect[]; | 111 extern const char kEnablePreconnect[]; |
111 extern const char kEnablePrivacyBlacklists[]; | 112 extern const char kEnablePrivacyBlacklists[]; |
112 extern const char kEnableRendererAccessibility[]; | 113 extern const char kEnableRendererAccessibility[]; |
113 extern const char kEnableStatsTable[]; | 114 extern const char kEnableStatsTable[]; |
114 extern const char kEnableSync[]; | 115 extern const char kEnableSync[]; |
115 extern const char kEnableSyncAutofill[]; | 116 extern const char kEnableSyncAutofill[]; |
116 extern const char kEnableSyncBookmarks[]; | 117 extern const char kEnableSyncBookmarks[]; |
| 118 extern const char kEnableSyncPasswords[]; |
117 extern const char kEnableSyncPreferences[]; | 119 extern const char kEnableSyncPreferences[]; |
118 extern const char kEnableSyncThemes[]; | 120 extern const char kEnableSyncThemes[]; |
119 extern const char kEnableSyncTypedUrls[]; | 121 extern const char kEnableSyncTypedUrls[]; |
120 extern const char kEnableTouch[]; | 122 extern const char kEnableTouch[]; |
121 extern const char kEnableUserDataDirProfiles[]; | 123 extern const char kEnableUserDataDirProfiles[]; |
122 extern const char kEnableVerticalTabs[]; | 124 extern const char kEnableVerticalTabs[]; |
123 extern const char kEnableVideoLayering[]; | 125 extern const char kEnableVideoLayering[]; |
124 extern const char kEnableVideoLogging[]; | 126 extern const char kEnableVideoLogging[]; |
125 extern const char kEnableWatchdog[]; | 127 extern const char kEnableWatchdog[]; |
126 extern const char kEnableXSSAuditor[]; | 128 extern const char kEnableXSSAuditor[]; |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 #endif | 293 #endif |
292 // Return true if the switches indicate the seccomp sandbox is enabled. | 294 // Return true if the switches indicate the seccomp sandbox is enabled. |
293 bool SeccompSandboxEnabled(); | 295 bool SeccompSandboxEnabled(); |
294 | 296 |
295 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 297 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
296 // alphabetical order, or in one of the ifdefs (also in order in each section). | 298 // alphabetical order, or in one of the ifdefs (also in order in each section). |
297 | 299 |
298 } // namespace switches | 300 } // namespace switches |
299 | 301 |
300 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 302 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |