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 | |
434 // Disables syncing browser data to a Google Account. | 427 // Disables syncing browser data to a Google Account. |
435 const char kDisableSync[] = "disable-sync"; | 428 const char kDisableSync[] = "disable-sync"; |
436 | 429 |
437 // Disables syncing of app settings. | 430 // Disables syncing of app settings. |
438 const char kDisableSyncAppSettings[] = "disable-sync-app-settings"; | 431 const char kDisableSyncAppSettings[] = "disable-sync-app-settings"; |
439 | 432 |
440 // Disables syncing of apps. | 433 // Disables syncing of apps. |
441 const char kDisableSyncApps[] = "disable-sync-apps"; | 434 const char kDisableSyncApps[] = "disable-sync-apps"; |
442 | 435 |
443 // Disables syncing of autofill. | 436 // Disables syncing of autofill. |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 736 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
744 // supported server-side for searches on google.com. | 737 // supported server-side for searches on google.com. |
745 const char kEnableSdch[] = "enable-sdch"; | 738 const char kEnableSdch[] = "enable-sdch"; |
746 | 739 |
747 // Enables support of sticky keys. | 740 // Enables support of sticky keys. |
748 const char kEnableStickyKeys[] = "enable-sticky-keys"; | 741 const char kEnableStickyKeys[] = "enable-sticky-keys"; |
749 | 742 |
750 // Disables support of sticky keys. | 743 // Disables support of sticky keys. |
751 const char kDisableStickyKeys[] = "disable-sticky-keys"; | 744 const char kDisableStickyKeys[] = "disable-sticky-keys"; |
752 | 745 |
| 746 // Enable SPDY/2. This is a temporary testing flag. See |
| 747 // http://crbug.com/303957 . |
| 748 const char kEnableSpdy2[] = "enable-spdy2"; |
| 749 |
| 750 // Disable SPDY/3.1. This is a temporary testing flag. |
| 751 const char kDisableSpdy31[] = "disable-spdy31"; |
| 752 |
753 // Enable SPDY/4 alpha 2. This is a temporary testing flag. | 753 // Enable SPDY/4 alpha 2. This is a temporary testing flag. |
754 const char kEnableSpdy4a2[] = "enable-spdy4a2"; | 754 const char kEnableSpdy4a2[] = "enable-spdy4a2"; |
755 | 755 |
756 // Enables auto correction for misspelled words. | 756 // Enables auto correction for misspelled words. |
757 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; | 757 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; |
758 | 758 |
759 // Enables sending user feedback to spelling service. | 759 // Enables sending user feedback to spelling service. |
760 const char kEnableSpellingServiceFeedback[] = | 760 const char kEnableSpellingServiceFeedback[] = |
761 "enable-spelling-service-feedback"; | 761 "enable-spelling-service-feedback"; |
762 | 762 |
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 | 1641 |
1642 // ----------------------------------------------------------------------------- | 1642 // ----------------------------------------------------------------------------- |
1643 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1643 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1644 // | 1644 // |
1645 // You were going to just dump your switches here, weren't you? Instead, please | 1645 // You were going to just dump your switches here, weren't you? Instead, please |
1646 // put them in alphabetical order above, or in order inside the appropriate | 1646 // put them in alphabetical order above, or in order inside the appropriate |
1647 // ifdef at the bottom. The order should match the header. | 1647 // ifdef at the bottom. The order should match the header. |
1648 // ----------------------------------------------------------------------------- | 1648 // ----------------------------------------------------------------------------- |
1649 | 1649 |
1650 } // namespace switches | 1650 } // namespace switches |
OLD | NEW |