OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 "disable-restore-background-contents"; | 417 "disable-restore-background-contents"; |
418 | 418 |
419 // Disables restoring session state (cookies, session storage, etc.) when | 419 // Disables restoring session state (cookies, session storage, etc.) when |
420 // restoring the browsing session. | 420 // restoring the browsing session. |
421 const char kDisableRestoreSessionState[] = "disable-restore-session-state"; | 421 const char kDisableRestoreSessionState[] = "disable-restore-session-state"; |
422 | 422 |
423 // Disables throttling prints initiated by scripts. | 423 // Disables throttling prints initiated by scripts. |
424 const char kDisableScriptedPrintThrottling[] = | 424 const char kDisableScriptedPrintThrottling[] = |
425 "disable-scripted-print-throttling"; | 425 "disable-scripted-print-throttling"; |
426 | 426 |
| 427 // Disable SPDY/2. This is a temporary testing flag. See |
| 428 // http://crbug.com/303957 . |
| 429 const char kDisableSpdy2[] = "disable-spdy2"; |
| 430 |
| 431 // Disable SPDY/3.1. This is a temporary testing flag. |
| 432 const char kDisableSpdy31[] = "disable-spdy31"; |
| 433 |
427 // Disables syncing browser data to a Google Account. | 434 // Disables syncing browser data to a Google Account. |
428 const char kDisableSync[] = "disable-sync"; | 435 const char kDisableSync[] = "disable-sync"; |
429 | 436 |
430 // Disables syncing of app settings. | 437 // Disables syncing of app settings. |
431 const char kDisableSyncAppSettings[] = "disable-sync-app-settings"; | 438 const char kDisableSyncAppSettings[] = "disable-sync-app-settings"; |
432 | 439 |
433 // Disables syncing of apps. | 440 // Disables syncing of apps. |
434 const char kDisableSyncApps[] = "disable-sync-apps"; | 441 const char kDisableSyncApps[] = "disable-sync-apps"; |
435 | 442 |
436 // Disables syncing of autofill. | 443 // Disables syncing of autofill. |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 740 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
734 // supported server-side for searches on google.com. | 741 // supported server-side for searches on google.com. |
735 const char kEnableSdch[] = "enable-sdch"; | 742 const char kEnableSdch[] = "enable-sdch"; |
736 | 743 |
737 // Enables support of sticky keys. | 744 // Enables support of sticky keys. |
738 const char kEnableStickyKeys[] = "enable-sticky-keys"; | 745 const char kEnableStickyKeys[] = "enable-sticky-keys"; |
739 | 746 |
740 // Disables support of sticky keys. | 747 // Disables support of sticky keys. |
741 const char kDisableStickyKeys[] = "disable-sticky-keys"; | 748 const char kDisableStickyKeys[] = "disable-sticky-keys"; |
742 | 749 |
743 // Enable SPDY/2. This is a temporary testing flag. See | |
744 // http://crbug.com/303957 . | |
745 const char kEnableSpdy2[] = "enable-spdy2"; | |
746 | |
747 // Disable SPDY/3.1. This is a temporary testing flag. | |
748 const char kDisableSpdy31[] = "disable-spdy31"; | |
749 | |
750 // Enable SPDY/4 alpha 2. This is a temporary testing flag. | 750 // Enable SPDY/4 alpha 2. This is a temporary testing flag. |
751 const char kEnableSpdy4a2[] = "enable-spdy4a2"; | 751 const char kEnableSpdy4a2[] = "enable-spdy4a2"; |
752 | 752 |
753 // Enables auto correction for misspelled words. | 753 // Enables auto correction for misspelled words. |
754 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; | 754 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; |
755 | 755 |
756 // Enables sending user feedback to spelling service. | 756 // Enables sending user feedback to spelling service. |
757 const char kEnableSpellingServiceFeedback[] = | 757 const char kEnableSpellingServiceFeedback[] = |
758 "enable-spelling-service-feedback"; | 758 "enable-spelling-service-feedback"; |
759 | 759 |
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1633 | 1633 |
1634 // ----------------------------------------------------------------------------- | 1634 // ----------------------------------------------------------------------------- |
1635 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1635 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1636 // | 1636 // |
1637 // You were going to just dump your switches here, weren't you? Instead, please | 1637 // You were going to just dump your switches here, weren't you? Instead, please |
1638 // put them in alphabetical order above, or in order inside the appropriate | 1638 // put them in alphabetical order above, or in order inside the appropriate |
1639 // ifdef at the bottom. The order should match the header. | 1639 // ifdef at the bottom. The order should match the header. |
1640 // ----------------------------------------------------------------------------- | 1640 // ----------------------------------------------------------------------------- |
1641 | 1641 |
1642 } // namespace switches | 1642 } // namespace switches |
OLD | NEW |