Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 283 // when the browser restarts. | 283 // when the browser restarts. |
| 284 const char kDisableRestoreBackgroundContents[] = | 284 const char kDisableRestoreBackgroundContents[] = |
| 285 "disable-restore-background-contents"; | 285 "disable-restore-background-contents"; |
| 286 | 286 |
| 287 // Disable site-specific tailoring to compatibility issues in WebKit. | 287 // Disable site-specific tailoring to compatibility issues in WebKit. |
| 288 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 288 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
| 289 | 289 |
| 290 // Disable False Start in SSL and TLS connections. | 290 // Disable False Start in SSL and TLS connections. |
| 291 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; | 291 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; |
| 292 | 292 |
| 293 // Disable SSL v3 (usually for testing purposes). | |
| 294 const char kDisableSSL3[] = "disable-ssl3"; | |
|
wtc
2011/08/24 19:37:30
I don't think I will be using this command-line op
| |
| 295 | |
| 293 // Disable syncing browser data to a Google Account. | 296 // Disable syncing browser data to a Google Account. |
| 294 const char kDisableSync[] = "disable-sync"; | 297 const char kDisableSync[] = "disable-sync"; |
| 295 | 298 |
| 296 // Disable syncing of apps. | 299 // Disable syncing of apps. |
| 297 const char kDisableSyncApps[] = "disable-sync-apps"; | 300 const char kDisableSyncApps[] = "disable-sync-apps"; |
| 298 | 301 |
| 299 // Disable syncing of autofill. | 302 // Disable syncing of autofill. |
| 300 const char kDisableSyncAutofill[] = "disable-sync-autofill"; | 303 const char kDisableSyncAutofill[] = "disable-sync-autofill"; |
| 301 | 304 |
| 302 // Disable syncing of autofill Profile. | 305 // Disable syncing of autofill Profile. |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 319 | 322 |
| 320 // Disable syncing of themes. | 323 // Disable syncing of themes. |
| 321 const char kDisableSyncThemes[] = "disable-sync-themes"; | 324 const char kDisableSyncThemes[] = "disable-sync-themes"; |
| 322 | 325 |
| 323 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain | 326 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain |
| 324 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we | 327 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we |
| 325 // need a switch to disable the watcher. | 328 // need a switch to disable the watcher. |
| 326 const char kDisableTabCloseableStateWatcher[] = | 329 const char kDisableTabCloseableStateWatcher[] = |
| 327 "disable-tab-closeable-state-watcher"; | 330 "disable-tab-closeable-state-watcher"; |
| 328 | 331 |
| 332 // Disable TLS v1 (usually for testing purposes). | |
|
wtc
2011/08/24 19:37:30
Nit: v1 => 1.0
| |
| 333 const char kDisableTLS1[] = "disable-tls1"; | |
| 334 | |
| 329 // Allow disabling of translate from the command line to assist with | 335 // Allow disabling of translate from the command line to assist with |
| 330 // automated browser testing (e.g. Selenium/WebDriver). Normal | 336 // automated browser testing (e.g. Selenium/WebDriver). Normal |
| 331 // browser users should disable translate with the preference. | 337 // browser users should disable translate with the preference. |
| 332 const char kDisableTranslate[] = "disable-translate"; | 338 const char kDisableTranslate[] = "disable-translate"; |
| 333 | 339 |
| 334 // Disables the backend service for web resources. | 340 // Disables the backend service for web resources. |
| 335 const char kDisableWebResources[] = "disable-web-resources"; | 341 const char kDisableWebResources[] = "disable-web-resources"; |
| 336 | 342 |
| 337 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 343 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| 338 const char kDisableWebSecurity[] = "disable-web-security"; | 344 const char kDisableWebSecurity[] = "disable-web-security"; |
| (...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1231 | 1237 |
| 1232 // ----------------------------------------------------------------------------- | 1238 // ----------------------------------------------------------------------------- |
| 1233 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1239 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1234 // | 1240 // |
| 1235 // You were going to just dump your switches here, weren't you? Instead, | 1241 // You were going to just dump your switches here, weren't you? Instead, |
| 1236 // please put them in alphabetical order above, or in order inside the | 1242 // please put them in alphabetical order above, or in order inside the |
| 1237 // appropriate ifdef at the bottom. The order should match the header. | 1243 // appropriate ifdef at the bottom. The order should match the header. |
| 1238 // ----------------------------------------------------------------------------- | 1244 // ----------------------------------------------------------------------------- |
| 1239 | 1245 |
| 1240 } // namespace switches | 1246 } // namespace switches |
| OLD | NEW |