| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 // when the browser restarts. | 293 // when the browser restarts. |
| 294 const char kDisableRestoreBackgroundContents[] = | 294 const char kDisableRestoreBackgroundContents[] = |
| 295 "disable-restore-background-contents"; | 295 "disable-restore-background-contents"; |
| 296 | 296 |
| 297 // Disable site-specific tailoring to compatibility issues in WebKit. | 297 // Disable site-specific tailoring to compatibility issues in WebKit. |
| 298 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 298 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
| 299 | 299 |
| 300 // Disable False Start in SSL and TLS connections. | 300 // Disable False Start in SSL and TLS connections. |
| 301 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; | 301 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; |
| 302 | 302 |
| 303 // Disable SSL v3 (usually for testing purposes). |
| 304 const char kDisableSSL3[] = "disable-ssl3"; |
| 305 |
| 303 // Disable syncing browser data to a Google Account. | 306 // Disable syncing browser data to a Google Account. |
| 304 const char kDisableSync[] = "disable-sync"; | 307 const char kDisableSync[] = "disable-sync"; |
| 305 | 308 |
| 306 // Disable syncing of apps. | 309 // Disable syncing of apps. |
| 307 const char kDisableSyncApps[] = "disable-sync-apps"; | 310 const char kDisableSyncApps[] = "disable-sync-apps"; |
| 308 | 311 |
| 309 // Disable syncing of autofill. | 312 // Disable syncing of autofill. |
| 310 const char kDisableSyncAutofill[] = "disable-sync-autofill"; | 313 const char kDisableSyncAutofill[] = "disable-sync-autofill"; |
| 311 | 314 |
| 312 // Disable syncing of autofill Profile. | 315 // Disable syncing of autofill Profile. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 332 | 335 |
| 333 // Disable syncing browser typed urls. | 336 // Disable syncing browser typed urls. |
| 334 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; | 337 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
| 335 | 338 |
| 336 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain | 339 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain |
| 337 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we | 340 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we |
| 338 // need a switch to disable the watcher. | 341 // need a switch to disable the watcher. |
| 339 const char kDisableTabCloseableStateWatcher[] = | 342 const char kDisableTabCloseableStateWatcher[] = |
| 340 "disable-tab-closeable-state-watcher"; | 343 "disable-tab-closeable-state-watcher"; |
| 341 | 344 |
| 345 // Disable TLS v1.0 (usually for testing purposes). |
| 346 const char kDisableTLS1[] = "disable-tls1"; |
| 347 |
| 342 // Allow disabling of translate from the command line to assist with | 348 // Allow disabling of translate from the command line to assist with |
| 343 // automated browser testing (e.g. Selenium/WebDriver). Normal | 349 // automated browser testing (e.g. Selenium/WebDriver). Normal |
| 344 // browser users should disable translate with the preference. | 350 // browser users should disable translate with the preference. |
| 345 const char kDisableTranslate[] = "disable-translate"; | 351 const char kDisableTranslate[] = "disable-translate"; |
| 346 | 352 |
| 347 // Disables the backend service for web resources. | 353 // Disables the backend service for web resources. |
| 348 const char kDisableWebResources[] = "disable-web-resources"; | 354 const char kDisableWebResources[] = "disable-web-resources"; |
| 349 | 355 |
| 350 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 356 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| 351 const char kDisableWebSecurity[] = "disable-web-security"; | 357 const char kDisableWebSecurity[] = "disable-web-security"; |
| (...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1237 | 1243 |
| 1238 // ----------------------------------------------------------------------------- | 1244 // ----------------------------------------------------------------------------- |
| 1239 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1245 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1240 // | 1246 // |
| 1241 // You were going to just dump your switches here, weren't you? Instead, | 1247 // You were going to just dump your switches here, weren't you? Instead, |
| 1242 // please put them in alphabetical order above, or in order inside the | 1248 // please put them in alphabetical order above, or in order inside the |
| 1243 // appropriate ifdef at the bottom. The order should match the header. | 1249 // appropriate ifdef at the bottom. The order should match the header. |
| 1244 // ----------------------------------------------------------------------------- | 1250 // ----------------------------------------------------------------------------- |
| 1245 | 1251 |
| 1246 } // namespace switches | 1252 } // namespace switches |
| OLD | NEW |